chris68805 has asked for the wisdom of the Perl Monks concerning the following question:
#This is just the command to be called in execu my $inputfile="perloutput"; my $endfile=".txt "; my $smb="> "; my $outputfile="output"; my $smb2="&"; while ($index<16) { my $testpath="chirp_md5sum "; $testpath=$testpath.$inputfile.$index.$endfile.$smb.$outputfile.$ +index.$endfile.$smb2; chomp $testpath; print ("$testpath \n"); $id=fork(); if($id eq 0) { exec ($testpath); wait(); exit(); } $index++; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Fork and wait question
by kyle (Abbot) on Jun 12, 2008 at 16:07 UTC | |
by pc88mxer (Vicar) on Jun 12, 2008 at 16:24 UTC | |
by chris68805 (Initiate) on Jun 12, 2008 at 16:51 UTC | |
Re: Fork and wait question
by ikegami (Patriarch) on Jun 12, 2008 at 16:08 UTC | |
Re: Fork and wait question
by samtregar (Abbot) on Jun 12, 2008 at 16:56 UTC | |
Re: Fork and wait question
by zentara (Cardinal) on Jun 12, 2008 at 17:27 UTC | |
by samtregar (Abbot) on Jun 12, 2008 at 18:51 UTC | |
by pc88mxer (Vicar) on Jun 12, 2008 at 18:33 UTC | |
by chris68805 (Initiate) on Jun 12, 2008 at 18:41 UTC | |
by pc88mxer (Vicar) on Jun 12, 2008 at 19:05 UTC |