jalebie has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am launching a bunch of scripts in parallel as background process using a system command and trying to capture its output in a log file. Since the script is launched multiple times in parallel the output in the log file is getting overwritten. Is there a better wat to do this. Please help.
Waris
for ($i = 0; $i <=10; $i++) { system("myscript.prl $id >> $tmp_file &"); }
Waris
Back to
Seekers of Perl Wisdom