The file handlers are both DAL. Change the file handler names.
-----Original Message----- From: William Black [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 8:50 AM To: [EMAIL PROTECTED] Subject: re: Piped input >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 William Black _________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>