in reply to Is it possible to detect "no file" error in open2 ?

From the documentation:

open2() returns the process ID of the child process. It doesn't return on failure: it just raises an exception matching "/^open2:/".However, "exec" failures in the child are not detected. You'll have to trap SIGPIPE yourself.

  • Comment on Re: Is it possible to detect "no file" error in open2 ?