Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: shell redirect on windows, qx?

by mr_mischief (Monsignor)
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 lurking in the Monastery: (6)
As of 2015-07-03 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls