in reply to Perl script to wait for a program to finish
My guess: it'll be a lot easier to offer a good explanation if you show us your code.
If I understand what you wrote as you wrote it (intended?), your description doesn't match the way system works -- c.f. perldoc -f system:
system LIST
system PROGRAM LIST
Does exactly the same thing as "exec LIST", except that a fork
is done first, and the parent process waits for the child
process to exit. ....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl script to wait for a program to finish
by pvaldes (Chaplain) on Sep 28, 2011 at 09:45 UTC | |
|
Re^2: Perl script to wait for a program to finish
by renzosilv (Novice) on Sep 28, 2011 at 15:02 UTC |