simple rsh and python question

Chris Liechti cliechti at gmx.net
Thu Nov 14 15:25:14 EST 2002


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.

>   rsh x$ python myscript.py "&"

look up "nohup". otherwise any programm attached to the terminal are 
terminated when the terminal is closed. (HangUP signal)

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list