how to get PID from subprocess library

Anssi Saari as at sci.fi
Tue May 24 06:45:09 EDT 2011


TheSaint <nobody at nowhere.net.no> writes:

>         self.handle= \
>         xmlrpclib.ServerProxy('http://localhost:%s/rpc' %int(self.numport))

Couldn't you just try to call something via this handle, like
self.handle.aria2.getVersion()? If there's an error, then start aria2
as a daemon and try again.




More information about the Python-list mailing list