Re: multiple concurrent processes

2002-08-29 Thread zentara
On Wed, 28 Aug 2002 11:46:05 -0700, [EMAIL PROTECTED] (David) wrote: >Philip Montgomery wrote: >> I am trying to figure out how to run process concurrently from Perl. I >> want the parent to spawn off the children and wait until they are complete >> to continue. I can get the child processes to

Re: multiple concurrent processes

2002-08-29 Thread Philip Montgomery
David, > for ($x;$x<4;$x++) { > if ($pid=fork) { > } else { >system "mkdir dir$x"; > for ($i=1;$i<250;$i++) { > open3(OUTPUT, INPUT, ERRORS, cd dir$x;make clean; make all); > log files> Basically, I want the fork to fork of 4 children. Each chiled I want

Re: multiple concurrent processes

2002-08-28 Thread david
Philip Montgomery wrote: > I am trying to figure out how to run process concurrently from Perl. I > want the parent to spawn off the children and wait until they are complete > to continue. I can get the child processes to run in serial, but I need > them to run in parallel. > > The code I am

Re: multiple concurrent processes

2002-08-28 Thread zentara
On Wed, 28 Aug 2002 07:30:15 -0500, [EMAIL PROTECTED] (Philip Montgomery) wrote: >I am trying to figure out how to run process concurrently from Perl. I want the >parent to spawn off the children and wait until they are complete to continue. I can >get the child processes to run in serial, bu

multiple concurrent processes

2002-08-28 Thread Philip Montgomery
I am trying to figure out how to run process concurrently from Perl. I want the parent to spawn off the children and wait until they are complete to continue. I can get the child processes to run in serial, but I need them to run in parallel. The code I am using thus far is for ($x;$x<4;$x++