in reply to Re^2: Net::OpenSSH how to stop(zap) capturing after time
in thread Net::OpenSSH how to stop(zap) capturing after time
Another option is to write your own time-limited capture method. Use pipe_out to launch the remote command and read from the returned pipe until the timeout expires. Closing the pipe will deliver a SIGPIPE to the remote process killing it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Net::OpenSSH how to stop(zap) capturing after time
by Anonymous Monk on Mar 22, 2011 at 20:28 UTC |