kamesh3183 has asked for the wisdom of the Perl Monks concerning the following question:
How can I detect whether background process is completed or not when using perl system function?for (i=0; i<$counter; i++) { system("perl test1.pl &"); system("perl test2.pl"); #I want to continue with the next iteration when I am sure that backgr +ound process is completed #How can I detect above condition? }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to detect background process completed or not
by Tanalis (Curate) on Aug 17, 2005 at 06:59 UTC | |
|
Re: how to detect background process completed or not
by salva (Canon) on Aug 17, 2005 at 07:05 UTC |