Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: shell redirect on windows, qx?

by mr_mischief (Prior)
on Apr 11, 2008 at 21:53 UTC ( #679872=note: print w/ replies, xml ) Need Help??


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


Comment on Re: shell redirect on windows, qx?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://679872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2014-04-17 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls