And the exact .bat script for looping the test ...
Um. Not quite.
c:\test>555304 c:\test>LOOP: 'LOOP:' is not recognized as an internal or external comm operable program or batch file. c:\test>perl 555304.pl Thread 1 Thread 2 Thread 3 Thread 4 Via system: hello world Via system: hello world Via system: hello world Via system: hello world Via backticks hello world Via backticks hello world Via backticks hello world Via backticks hello world Via pipe hello world Via pipe hello world Via pipe hello world Via pipe hello world c:\test>goto LOOP The system cannot find the batch label specified - LOOP
The syntax should be (note the placement of the colon ':' in the first line):
:LOOP perl 555304.pl goto LOOP
However, having corrected that, I did manage to reproduce the hang. I don't know the cause, but at least I have something to work with. You should probably raise a perlbug so that the p5p guys can see what they can see.
In reply to Re^9: Behavior of threads on XP-- system() works, backtic & popen don't...
by BrowserUk
in thread Behavior of threads on XP-- system() works, backtic & popen don't...
by Sync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |