Windows handling of non-binary executables is buggy. It used to be you couldn't redirect the output of batch files at all. ("command /c batch > file" was required.) Change "script.pl" to "perlscript.pl" and it works.
In reply to Re: STDOUT missing on Windows, works on Unix
by ikegami
in thread STDOUT missing on Windows, works on Unix
by abecher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |