simple rsh and python question

Ng Pheng Siong ngps at netmemetic.com
Thu Nov 14 20:11:03 EST 2002


According to Chris Liechti  <cliechti at gmx.net>:
> rwadkins at flash.net (Randy Wadkins) wrote in 
> news:d453156a.0211141053.7de1422 at posting.google.com:
> > Is there any way to rsh from a shell script to nodes in a cluster and
> > execute a python script that will run in the background on each node? 
> > It appears that the execution is stopped once the rsh command is
> > completed.
>
> look up "nohup". otherwise any programm attached to the terminal are 
> terminated when the terminal is closed. (HangUP signal)

Supposing OP wrote those scripts he's executing remotely, he can also fix
them to DTRT wrt dissociating from the terminal and all that daemonic
stuff.

I'm sure there must be some recipes floating about for that.


-- 
Ng Pheng Siong <ngps at netmemetic.com> * http://www.netmemetic.com




More information about the Python-list mailing list