lu****@mediaone.net (Brian) wrote in message news:<96**************************@posting.google. com>...
'Ello,
I'm writing a perl script to spawn child processes to execute jobs.
The jobs are system calls. I use open(SYSCALL, "cmd |), to make the
system calls because I need the pipe so I can log STDOUT to a file.
No that is not necessary - you can re-open STDOUT to a file then just
use system().
On Windows my script locks up after the first job is done. It works
fine on unix.
ISTR this being a problem in 5.5 (or was it 5.4). Do you have really
anchient Perl? After all you seem to think this newsgroup still
exists and it hasn't existed for the same sort of time.
I am using fork to spawnt the child processes.
Oh, I thought you said you were using pipe-open.
fork() is not properly implemented by Windows. Avoid it.
Perhaps you should reduce your problem to a minimal but complete
script that illustrates the symptoms you are seeing and post it to a
newsgroup that still exists.