> Can you get by without the pipe and do something simpler with a file
> and Win32::Process ? :
>
> use Win32::Process;
>
> my $pObj;
> my $file = "C:\\test.log";
>
> Win32::Process::Create($pObj, "$ENV{WINDIR}\\system32\\cmd.exe",
> "cmd /C dir 2>&1 >$file", 0, NORMAL_PRIORITY_CLASS, "C:\\")
Paul Sobey wrote:
> Guys,
>
> I have a threaded service written in perl which spawns a child process
> and sends STDOUT/STDERR to disk via windows anonymous pipes. The service
> works perfectly in test, and has now gone live across several servers in
> our company. The service uses Win32::API to
Guys,
I have a threaded service written in perl which spawns a child process
and sends STDOUT/STDERR to disk via windows anonymous pipes. The service
works perfectly in test, and has now gone live across several servers in
our company. The service uses Win32::API to call the api CreateProcess
func