Using Net::OpenSSH, I'm runing a pipe_out tail -f to search a success/error info in a logfile while a bg command is executing.
When I try to close $stdout redir the script is suspended until I manually kill tail -f command. I tried using the pid returned by pipe_out to kill the command but it's not tail's pid but ssh connection...
Is there anyway to achieve what I'm trying with Net::OpenSSH ?
ThanksIn reply to Net::OpenSSH and tail -f by farfabet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |