Re: Passing shell control to another app
- From: Julián Albo <JULIANALBO@xxxxxxxx>
- Date: 26 Sep 2006 23:02:18 +0200
Allistar wrote:
Part way through the execution of the application it executes another
instance of the same app (using fork followed by execl) and then the
original instance exits. When the original instance exists the user sees
the shell prompt, yet the second instance is still running and still
outputting to the shell.
Is there a way of doing this so that control of the shell is passed to
the second instance? I.e. I don't want the user to get control of the
shell until after the second instance has finished.
Don't exit immediately, wait until the child process finishes. Or execl the
second instance without forking.
--
Salu2
.
- References:
- Passing shell control to another app
- From: Allistar
- Passing shell control to another app
- Prev by Date: Passing shell control to another app
- Next by Date: Re: Serial port programming C++ - detect serial ports on linux
- Previous by thread: Passing shell control to another app
- Next by thread: Re: Passing shell control to another app
- Index(es):
Relevant Pages
|