Problems with rlogin and executing a script

Lukas Schnieper schnieper at semafor.ch
Wed Oct 1 03:59:36 EDT 2003


Hi all

I work with Suse Linux 8.2 and Python 2.2.2
I'm trying to make a python script which makes a rlogin to another 
system and executes there another script. So it looks like this:

os.system("rlogin <hostname>")
os.system("./myscript.py")

The rlogin is ok. I can give in my password and i'm on the other host. 
But the script goes not on until i exit the rlogin. How can a execute a 
command on the new machine on which i'm logged in?






More information about the Python-list mailing list