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.
In reply to Re: Is it possible to detect "no file" error in open2 ?
by Anonymous Monk
in thread Is it possible to detect "no file" error in open2 ?
by bdimych
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |