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

Re^3: Effect of redirecting output to /dev/null on $? value

by hippo (Bishop)
on Aug 03, 2020 at 15:44 UTC ( [id://11120259]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Effect of redirecting output to /dev/null on $? value
in thread Effect of redirecting output to /dev/null on $? value

This is pretty much all covered in the docs for system().

Why does adding a redirect to /dev/null increase the complexity enough to invoke the shell?

Because it's the shell that does the redirection.


🦛

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found