in reply to shell redirect on windows, qx?
The only one that comes with a bash is the Cygwin environment. Fortunately, the Windows CLI is mostly sane for redirection purposes, though. Unfortunately, I found that older versions of ActiveState might break on your code. Anything recent should be okay, though.
To keep the response a bit shorter for those looking for just the gist, I'll put all but my newest copy of each in a readmore. I don't have Vanilla, but it's my understanding Vanilla is just a proper subset of Strawberry. I'd mostly expect similar results from those two.
Strawberry 5.8.8:
No redirect: 012 345 678 ABC IJK XYZ Redirect errors to devnull: ABC IJK XYZ Redirect merging stderr and stdout: ABC 012 IJK 345 XYZ 678
Strawberry Perl 5.10.0.1:
No redirect: 012 345 678 ABC IJK XYZ Redirect errors to devnull: ABC IJK XYZ Redirect merging stderr and stdout: ABC 012 IJK 345 XYZ 678
ActiveState 5.8.0 (build 804):
No redirect: 'C:\Documents' is not recognized as an internal or external command, operable program or batch file. Redirect errors to devnull: Redirect merging stderr and stdout: 'C:\Documents' is not recognized as an internal or external command, operable program or batch file.
ActiveState 5.8.8 (build 822):
No redirect: 012 345 678 ABC IJK XYZ Redirect errors to devnull: ABC IJK XYZ Redirect merging stderr and stdout: ABC 012 IJK 345 XYZ 678
ActiveState 5.10.0 (build 1002):
No redirect: 012 345 678 ABC IJK XYZ Redirect errors to devnull: ABC IJK XYZ Redirect merging stderr and stdout: ABC 012 IJK 345 XYZ 678
Cygwin Perl 5.8.6:
No redirect: 012 345 678 ABC IJK XYZ Redirect errors to devnull: ABC IJK XYZ Redirect merging stderr and stdout: ABC 012 IJK 345 XYZ 678
|
---|
In Section
Seekers of Perl Wisdom