[paramiko] background process status (success/failure)

jd jdsw2002 at yahoo.com
Fri May 4 03:05:51 PDT 2007


Hi everyone

I am using channel.exec_command to start a process on a remote node in the background. example "sleep 600 &"   (or some daemon like process)

How do I know that the process in the background has started sucessfully  and not  exited with the error ? chan.recv_exit_status is a blocking call. (which would not work, when the process is started succesfully).

Can I do some check on the channel?

Thanks in advance.
/Jd

 	      
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.lag.net/pipermail/paramiko/attachments/20070504/e27379ab/attachment.htm 


More information about the paramiko mailing list