in reply to Net::OpenSSH in a mod_perl handler
open my $stdin_fh, '<', '/dev/null' or die "unable to open /dev/null"; my $ssh = Net::OpenSSH->new(SSH_HOST, default_stdin_fh => $stdin_fh, ... ); ...
mod_perl is probably tie'ing STDIN to something that does not have a real file handle behind.
update: besides that, it seems that there are some issue with capture not capturing anything... I am investigating it!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::OpenSSH in a mod_perl handler
by eserte (Deacon) on Mar 24, 2010 at 17:19 UTC | |
by salva (Canon) on Mar 25, 2010 at 00:04 UTC | |
by eserte (Deacon) on Mar 25, 2010 at 10:51 UTC |