Don't call master_exited. Though that would probably not solve anything.
What is print returning?
for (@cmdout) { my $bytes = print $_; print STDERR "bytes: $bytes, err: $!\n"; }
Also, use strace in order to see what is going on at the OS level.
In reply to Re^16: Net::OpenSSH loosing lines ins reply
by salva
in thread Net::OpenSSH loosing lines ins reply
by Andy16
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |