-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 t
This is ok.
Is there any other way to find it out?
Thanks,
Srini
- Original Message
From: Gerhard Häring <[EMAIL PROTECTED]>
To: python-list@python.org
Sent: Friday, 20 June, 2008 10:03:30 PM
Subject: Re: Execute a script on a remote machine
srinivasan srinivas wrote:
>
srinivasan srinivas wrote:
Hi,
My requirement is i have to execute a python script on a remote machine as a
subprocess from a python script and to get the subprocess pid of the process
running the script. Is there anyway to do that??
I have used subprocess.popen() method to do that. I have done
Hi,
My requirement is i have to execute a python script on a remote machine as a
subprocess from a python script and to get the subprocess pid of the process
running the script. Is there anyway to do that??
I have used subprocess.popen() method to do that. I have done as following:
executable = '