After looking over the code, IPC::Open3::Simple doesn't do any forking, but it uses IPC::Open3 which does. So you are probably right about the cause.
I would definitely check for existance, readability, and execute bits before running it. I would also just run your ping, and if it fails reconnect to the database. That should cover all possibilities.
Frank Wiles <frank@revsys.com>
www.revsys.com
In reply to Re: IPC::Open3::Simple closes database connection on error.
by ides
in thread IPC::Open3::Simple closes database connection on error.
by superfrink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |