Hi All,
My script is calling a Win32 program with two arguments: system ( "$ARGV[0]\\program.exe", $File::Find::name, "$ARGV[0]\\source"); I want to capture STDOUT and STDERR from the program to log file system ( "$ARGV[0]\\program.exe", $File::Find::name, "$ARGV[0]\\source", 1>"$ARGV[0]\\log.txt", 2>&1 ); Compiler gave me syntax error. And for sure the problem with this part: 1>"$ARGV[0]\\log.txt", 2>&1. I was trying to double quote it and put commas but it didn't help. Is there any way to accomplish this task under Win32 environment? Thanks in advance, Vladimir