Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Can't close pipe to invalid process

by Anonymous Monk
on Aug 28, 2015 at 22:34 UTC ( [id://1140386]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can't close pipe to invalid process
in thread Can't close pipe to invalid process

Well, the print wasn't dying, because the close() test actually runs.

You mean in your updated new code? Because the code you posted doesn't die if print fails.

I guess my concern is why the invalid open returned true. Seems counterintuitive.

Um, if open succeeded, and print succeeded, then it must not have been an invalid open, so nothing counterintuitive there

Its very possible for a program to end after a successful open to it

  • Comment on Re^3: Can't close pipe to invalid process

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2025-12-11 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (92 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.