in reply to Re: Win32::Process::Create fails when i use ">" to redirect the screen output to a file
in thread Win32::Process::Create fails when i use ">" to redirect the screen output to a file
Any help would be appreciated for above question....
notepad.exe is not a shell, it doesn't know what to do with "> log.txt 2>&1"
If you want to invoke the shell, try using cmd.exe or simply undef for the program name
Read CreateProcess function, Behind the GUI lives the Shell and/or Windows Command Line Interpreter|Shell|DOS Prompt|Batch Files|Scripting
|
|---|