'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.
On Windows my script locks up after the first job is done. It works
fine on unix.
I am using fork to spawnt the child processes.
Any help is appreciated, or alternative suggestions is greatly
appreciated.
Thanks much.
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.
On Windows my script locks up after the first job is done. It works
fine on unix.
I am using fork to spawnt the child processes.
Any help is appreciated, or alternative suggestions is greatly
appreciated.
Thanks much.
Comment