how to get PID from subprocess library

TheSaint nobody at nowhere.net.no
Tue May 24 09:36:40 EDT 2011


Anssi Saari wrote:

> 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.
> 

Very good, you're right. Furthermore I should avoid to call that function 
several times. I think to join it with __init__ function
The program on exit must tell aria2c to quit.

-- 
goto /dev/null



More information about the Python-list mailing list