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.
  • Comment on Re: Invoking, issuing commands to, and passing control to an interactive shell...

Replies are listed 'Best First'.
Re^2: Invoking, issuing commands to, and passing control to an interactive shell...
by EvanK (Chaplain) on Jan 19, 2006 at 17:41 UTC
    what i meant by "interactive shell" is that it's a program that, when called, sits at a kind of prompt, waiting for specific commands. its not an actual system shell like bash, its used for interfacing with a specific daemon, so i need to use this particular app.

    __________
    Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
    - Terry Pratchett