in reply to Perl in Windows - STDOUT to file Behavior difference by run context
Can you clarify what you mean by "in the run box"? My only guess is that you're clicking on the Start and then clicking on Run. If that's correct, it's possible that your calls to your Perl script and piping to output to a file may be working. However, your examples are using relative path (i.e. using the current directory) instead of a full path. You might want to check the directory where your perl.exe file is located. You just might find the files that you created from your calls from the "run box".
This may not be a quick and easy thing to do, but you might want to consider redesigning your script(s) to take an optional input argument that specifies a file to log output to rather than relying on using '>' from the command prompt environment to pipe the output to a file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl in Windows - STDOUT to file Behavior difference by run context
by AngelOnTheSideline (Initiate) on Mar 12, 2014 at 14:50 UTC |