Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Dialog with UNIX shell

by ikegami (Pope)
on Jul 19, 2007 at 21:41 UTC ( #627641=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Dialog with UNIX shell
in thread Dialog with UNIX shell

You need something like IPC::Open2 instead of qx() since you want 2-way communication with ssh. qx() only allows to receive from the child process.

That said, you're probably better off using Expect and let it worry about the nitty gritty parent-child communication details.


Comment on Re^5: Dialog with UNIX shell
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2014-07-14 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (258 votes), past polls