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

Re: Net::SSH::Expect --> Process is quite after exiting from program.

by salva (Canon)
Process is quite after exiting from program. NODE.owner = 446266 N.title = monktitlebar sitedoclet N.owner = 17342 -->
on Feb 14, 2017 at 09:38 UTC ( [id://1181963]=note: print w/replies, xml ) Need Help??


in reply to Net::SSH::Expect - Process is quite after exiting from program.

Launch the remote program with nohup:
$ssh->exec("nohup java Atsi2 >/dev/null 2>&1 </dev/null &");

In any case, Net::SSH::Expect is quite unreliable, any other Perl SSH module available is probably a better option.

  • Comment on Re: Net::SSH::Expect --> Process is quite after exiting from program.
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 01:38 GMT
Sections?
Process is quite after exiting from program. NODE.owner = 446266 N.title = Sections sitedoclet N.owner = 17342 -->
Information?
Process is quite after exiting from program. NODE.owner = 446266 N.title = Information sitedoclet N.owner = 17342 -->
Find Nodes?
Process is quite after exiting from program. NODE.owner = 446266 N.title = Find Nodes sitedoclet N.owner = 17342 -->
Leftovers?
    Process is quite after exiting from program. NODE.owner = 446266 N.title = Leftovers sitedoclet N.owner = 17342 -->
    Voting Booth?

    No recent polls found