Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: shell redirect on windows, qx?

by BrowserUk (Pope)
on Apr 11, 2008 at 21:28 UTC ( #679867=note: print w/replies, xml ) Need Help??


in reply to Re^2: shell redirect on windows, qx?
in thread shell redirect on windows, qx?

It looks like Active State perl behaves ...

It's not down to AS perl. The redirection is done by the shell processor that is invoked by qx/backticks or system. Under AS perl that shell is the standard win32 cmd.exe.

Other variants, such as cygwin builds and Strawberry etc. may choose to invoke a different shell. I think cygwin (as standard) uses a sh-alike, but you can probably get csh, bash or zsh that would run under cygwin. (If you must:), but you might have to configure something somewhere to get them used by default, and each has its own set of advantages and restrictions as with the *nix brethren.

In theory, there is nothing to stop you from configuring a cygwin build to use cmd.exe, but I've no idea how.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://679867]
help
Chatterbox?
[Corion]: marto: Ah, so you can multiplex work and PM time ;-D
[Corion]: The upside to this is that I've reduced my $work (well, $paid) time to 80%, so I'll be at $work only four days/week, which will hopefully make the crunch less crunchy on me ;)
[marto]: yeah, so that stays as before. But before the boys were born I'd be on quite often at night (GMT) also
[marto]: I had the option during our TUPE transfer to buy 5 more days holiday. They were shocked when I did :P

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-06-29 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (655 votes). Check out past polls.