Has anyone had success with Proc::Simple on Win32?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I am trying to use the Proc::Simple module in Win32, with no success.

I can go as far as launching a process, but anythign more than that seems
not to be working.

I am using Perl version 5.8.0 from ActiveState:
"perl, v5.8.0 built for MSWin32-x86-multi-thread"

A. The following works:
my $myproc = Proc::Simple->new();        # Create a new process object
   $myproc->start($StartCmd." ".$CmdLineArgs); # Launch an external program

B. But the following does  not:

Also, $myproc->poll() always returns 1, even if the process is already

Plus, the process ID returned by $myproc->pid is negative, and a
kill(0,$pid) does not work either.

Any help would be appreciated.

Re: Has anyone had success with Proc::Simple on Win32?

Quoted text here. Click to load it

I haven't tried that module.
Perhaps you'll have better success with Win32::Process (which you'll already


Site Timeline