Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: return value from system call, exit status, shift right 8, bitwise and, $?

by ikegami (Patriarch)
on Feb 11, 2010 at 08:57 UTC ( [id://822607]=note: print w/replies, xml ) Need Help??


in reply to Re: return value from system call, exit status, shift right 8, bitwise and, $?
in thread return value from system call, exit status, shift right 8, bitwise and, $?

Therefore, system() can return -1 when system() successfully started the command.

Yes. It could mean it was unsuccessful in reaping the child. However, that will only happen when $SIG{CHLD} is overridden, and you shouldn't be using system when you do that.

  • Comment on Re^2: return value from system call, exit status, shift right 8, bitwise and, $?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-23 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found