in reply to Re: Net::OpenSSH in a mod_perl handler
in thread Net::OpenSSH in a mod_perl handler
This got me one step further:
[Wed Mar 24 18:16:06 2010] [error] [client 127.0.0.1] child process STDOUT is not a real system file handle at /tmp/lib/test/openssh.pm line 40\n
After setting the default_stdout_fh option using the same schema the $ssh->system command works, at least with mod_perl 2. $ssh->capture still does not work; there is no error, but also nothing is captured.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Net::OpenSSH in a mod_perl handler
by salva (Canon) on Mar 25, 2010 at 00:04 UTC | |
by eserte (Deacon) on Mar 25, 2010 at 10:51 UTC |
In Section
Seekers of Perl Wisdom