open pipe for system call does not work on windows
From: Brian (lucid1_at_mediaone.net)
Date: 03/23/04
- Previous message: Sam Snead: "Re: Where's the problem with this code?"
- Next in thread: Jeff Dunn: "Re: open pipe for system call does not work on windows"
- Reply: Jeff Dunn: "Re: open pipe for system call does not work on windows"
- Reply: Will Stranathan: "Re: open pipe for system call does not work on windows"
- Reply: nobull_at_mail.com: "Re: open pipe for system call does not work on windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Mar 2004 15:24:42 -0800
'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.
- Previous message: Sam Snead: "Re: Where's the problem with this code?"
- Next in thread: Jeff Dunn: "Re: open pipe for system call does not work on windows"
- Reply: Jeff Dunn: "Re: open pipe for system call does not work on windows"
- Reply: Will Stranathan: "Re: open pipe for system call does not work on windows"
- Reply: nobull_at_mail.com: "Re: open pipe for system call does not work on windows"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]