I have a Tk menu based installer I am working on. When a user selects a widget, I want the widget to execute a bash/csh shell script. I want the output from the shell script to be seen in a new Tk window.
For some reason, the exec command does not want to execute my shell script. It is telling me that there are parentheses in my script that are not necessary. These parentheses are actually used in my shell script when definining functions.
Can anyone help me to re-direct the output of my shell script to a Tk window without Tcl/Tk attempting to interpret my shell script? All I want is stdout from the shell script redirected to a Tk window.
Thank you!
For some reason, the exec command does not want to execute my shell script. It is telling me that there are parentheses in my script that are not necessary. These parentheses are actually used in my shell script when definining functions.
Can anyone help me to re-direct the output of my shell script to a Tk window without Tcl/Tk attempting to interpret my shell script? All I want is stdout from the shell script redirected to a Tk window.
Thank you!