Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: net::OpenSSH several commands, stdout are mixed up

by salva (Canon)
on Sep 17, 2020 at 06:32 UTC ( [id://11121862]=note: print w/replies, xml ) Need Help??


in reply to Re: net::OpenSSH several commands, stdout are mixed up
in thread net::OpenSSH several commands, stdout are mixed up

That is because all of the $f_stdout values derived from the same SSH connection are the same handle

No, they are not. Every open3 call opens a new channel and returns a different set of pipes attached to the remote process stdin, stdout and stderr streams.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found