in reply to multi-command sytem call
Which you do.
What you need is to background the jobs, reap them, and then collect the return value when you reap them.
I'd do that by calling open twice, then calling waitpid twice and storing $?. (Yeah, it is a lot more complicated - but you are trying to keep straight a much more complicated situation.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: multi-command sytem call
by water (Deacon) on Aug 25, 2004 at 03:02 UTC | |
by tilly (Archbishop) on Aug 25, 2004 at 14:41 UTC | |
|
Re^2: multi-command sytem call
by blm (Hermit) on Aug 25, 2004 at 03:30 UTC | |
by edan (Curate) on Aug 25, 2004 at 06:56 UTC |