running in an xterm
Posted: Sun Sep 07, 2008 6:41 pm
hey guys,
most Terminal Emulators can be given an "-e" option to run programs. If I type "xterm -e /path-to-my-script" an xterm fires up and runs the script.
is there a way to open an xterm in a script which then executes the script that opens it? (yes, convoluted..)
I want to click a button to run a script in an xterm. the way I do it now is to write a shell script that starts the xterm that starts the script, and I'd like to reduce it down to one step.
I just confused myself.
:-)
most Terminal Emulators can be given an "-e" option to run programs. If I type "xterm -e /path-to-my-script" an xterm fires up and runs the script.
is there a way to open an xterm in a script which then executes the script that opens it? (yes, convoluted..)
I want to click a button to run a script in an xterm. the way I do it now is to write a shell script that starts the xterm that starts the script, and I'd like to reduce it down to one step.
I just confused myself.
:-)