Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

perl56delta - what's new for perl v5.6.0

by Anonymous Monk
on Aug 18, 2003 at 19:50 UTC ( #284694=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: When starting a process, at what point does "open()" return?
in thread When starting a process, at what point does "open()" return?

system(), backticks and pipe open now reflect exec failure
On Unix and similar platforms, system(), qx() and open(FOO, ``cmd |'') etc., are implemented via fork() and exec(). When the underlying exec() fails, earlier versions did not report the error properly, since the exec() happened to be in a different process. The child process now communicates with the parent about the error in launching the external command, which allows these constructs to return with their usual error value and set $!.
  • Comment on perl56delta - what's new for perl v5.6.0

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2021-06-15 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (72 votes). Check out past polls.

    Notices?