As far as capturing the output, does it matter if I'm on a Win32 platform (which I am) as opposed to a UNIX flavor operating system? I've seen the "2>&1" when writing scripts in UNIX, but I've never seen that used on a Windows platform.
Something else about the script I was trying to write is that I want perl to perform actions against a file I specify on the command line. Basically I type "perl script.pl <filename>" to run the script agains that file. One of the commands I run against this file does not produce output to the...
I'm trying to write a script that will write the output of a system("<some command>") function to a text file, however, the file that gets written has 0 bytes. Please help.
-Josh
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.