Rambo has asked for the wisdom of the Perl Monks concerning the following question:
thanks in advanceduse strict; use Win32::Process; use Win32; open (STDOUT, "| tee >t2.txt"); my $ProcessObj = ""; Win32::Process::Create($ProcessObj, "D:\\WIN32APP\\JRE_142_03\\bin\\java.exe", "java.exe -version" >>*STDOUT, 1, NORMAL_PRIORITY_CLASS, ".")|| die ErrorReport(); $ProcessObj->Suspend(); $ProcessObj->Resume(); $ProcessObj->Wait(INFINITE); } close(STDOUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: logging of win32::process
by wazoox (Prior) on May 04, 2005 at 13:50 UTC | |
by Rambo (Initiate) on May 04, 2005 at 14:02 UTC | |
by wazoox (Prior) on May 04, 2005 at 14:12 UTC | |
by Rambo (Initiate) on May 04, 2005 at 14:33 UTC | |
by wazoox (Prior) on May 04, 2005 at 18:01 UTC | |
|
Re: logging of win32::process
by starbolin (Hermit) on May 04, 2005 at 17:13 UTC |