Hello I have the following driver script that calls two perl scripts to run them asyn. The driver calls the open command for both scripts but the pgm just hangs and never finishes. Does anyone know why?

Driver:
open (DAL,"C:\temp7\backup\temp1.pl");
open (DAL,"C:\temp7\backup\temp2.pl");

while (!-e "C:\temp7\backup\temp2.done"){}
while (!-e "C:\temp7\backup\temp1.done"){}

close(DAL);
close(STL);


temp1.pl $i=0; while ($i<500){$i += 1;} system(echo complete > C:\temp7\backup\temp1.done);



temp2.pl
$i=0;
while ($i<500){$i += 1;}
system(echo complete > C:\temp7\backup\temp2.done);

William Black

_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to