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

Re: Incorrect value 0 reported in command execution return value variable $?, when trying with expect->send command

by salva (Canon)
on Feb 25, 2012 at 23:37 UTC ( [id://956149]=note: print w/replies, xml ) Need Help??


in reply to Incorrect value 0 reported in command execution return value variable $?, when trying with expect->send command

Hi, I am trying to remotely run an executable on a remote machine using the expect.pm module.

Why don't you use one of the SSH modules available from CPAN instead? (For instance Net::OpenSSH or Net::SSH2).

  • Comment on Re: Incorrect value 0 reported in command execution return value variable $?, when trying with expect->send command

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found