Execute a script on a remote machine
Gerhard Häring
gh at ghaering.de
Fri Jun 20 15:34:29 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
srinivasan srinivas wrote:
> Is there any other way rather than communicating back to the caller?
No, the remote PID isn't magically transferred via RSH. The remote
script must communicate the PID back.
Just writing it remotely as first line and on the client side reading
the first line via the subprocess module could do the trick.
- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIXAZFdIO4ozGCH14RAoGIAJ4jiEc/389uzBPkRWVMQJnJSEOM6ACfQ0ra
UXbXtTl6StW62Xq5MyD7+Yw=
=S4XS
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list