Syntactic Confectionery Delight | |
PerlMonks |
Re: Net::OpenSSH cmd not timing out as requestedby pileofrogs (Priest) |
on Aug 11, 2010 at 18:04 UTC ( [id://854471]=note: print w/replies, xml ) | Need Help?? |
I'm guessing that 'timeout' is really about giving up if the connection cannot be established. You'll need to add functionality to watch for your process taking too long. Two ways to do this that jump to mind are calling alarm or forking a child. I think perlipc should be helpful.
In Section
Seekers of Perl Wisdom
|
|