Wow, awesome, but...
If i set timeout to 1 and command to `cat /dev/urandom` it takes only 13 seconds ( "$cmd & sleep $timeout; kill \$!" )
And if command is `echo Hello, World` script returns Exit Code 1, but i think i can fix it :)
In reply to Re^2: Net::OpenSSH how to stop(zap) capturing after time
by MiklerGM
in thread Net::OpenSSH how to stop(zap) capturing after time
by MiklerGM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |