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.
In reply to (DUPE) Re: Invoking, issuing commands to, and passing control to an interactive shell...
by linuxlouis
in thread Invoking, issuing commands to, and passing control to an interactive shell...
by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |