|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: IPC::Open3::Simple closes database connection on error.by ides (Deacon) |
| on Apr 19, 2008 at 00:39 UTC ( #681602=note: print w/ replies, xml ) | Need Help?? |
|
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>
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||