Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050923]
help
Chatterbox?
[holli]: I really like these guys. Ugly, but hell of a flow.
[holli]: Quite good evidence immigrants can contribute to a countries culture.
LanX ... let me hear your body talk...
[LanX]: well ...immigrant music...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-12-13 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?