in reply to Net::OpenSSH cmd not timing out as requested
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::OpenSSH cmd not timing out as requested
by Only1KW (Sexton) on Aug 11, 2010 at 22:20 UTC |