in reply to Invoking, issuing commands to, and passing control to an interactive shell...
I have an initial question. Could you use an "xterm" as opposed to your "SHELL?"
To xterm you can pass arguments, such as commands that will be executed, as in:
xterm -e program_name
system("/your/path/to/xterm \-e program_name");
i may be able to help more if, i knew better what you're trying to do.
|
|---|