Welcome to the Monastery | |
PerlMonks |
wait for the system command to complete processby kulls (Hermit) |
on Sep 13, 2012 at 04:53 UTC ( [id://993362]=perlquestion: print w/replies, xml ) | Need Help?? |
kulls has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Below code reads the output of the nmon system command. the script starts executes before system command complete its processing and parsing only half of the file. Is there any work around other than using sleep command ?
Back to
Seekers of Perl Wisdom
|
|