in reply to Re^8: Behavior of threads on XP-- system() works, backtic & popen don't...
in thread Behavior of threads on XP-- system() works, backtic & popen don't...
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Behavior of threads on XP-- system() works, backtic & popen don't...
by Sync (Initiate) on Jun 19, 2006 at 16:55 UTC | |
by BrowserUk (Patriarch) on Jun 19, 2006 at 17:13 UTC | |
by Sync (Initiate) on Jun 20, 2006 at 20:38 UTC |