Ceding commandline control to child process


#1

Say I want to launch a child process and allow the user to interact
with it until it returns. Is there an easy way to do this? It
seems to work just using the back ticks except that the child
process’ output is never displayed.

Juan


#2

On Mon, Mar 16, 2009 at 10:12 PM, Juan Z. removed_email_address@domain.invalid
wrote:

Say I want to launch a child process and allow the user to interact with it
until it returns. Is there an easy way to do this? It seems to work just
using the back ticks except that the child process’ output is never
displayed.

Juan

Try system(“command”) instead of command (I’m presuming you don’t
need to capture stdout or stderr).


#3

On 16 mars 09, at 18:50, Sean O’Halpin wrote:

Try system(“command”) instead of command (I’m presuming you don’t
need to capture stdout or stderr).

Thanks, that works perfectly.
Juan