Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Handling STDERR when using Net::OpenSSH

by salva (Abbot)
on Aug 26, 2013 at 09:00 UTC ( #1050923=note: print w/ replies, xml ) Need Help??

in reply to Handling STDERR when using Net::OpenSSH

Is it possible to capture the output of stderr in Net::OpenSSH to a variable instead of to a file

Not safely.

The master SSH process is run on the background asynchronously. Any module redirecting its ouput to anything but a file may interfere with the module inner workings.

Comment on Re: Handling STDERR when using Net::OpenSSH

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050923]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-12-01 02:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls