how to get PID from subprocess library

TheSaint nobody at nowhere.net.no
Sun May 22 09:41:50 EDT 2011


Kushal Kumaran wrote:

> You could look for a way to make aria2c not become a daemon and use
> subprocess.Popen to start it.  That gives you the PID and ways to see
> if the process is still running

I see. It's a step that I've to get on my account. Unfortunately I'll have 
to study it some more.

BTW. I removed grep from the command. Python does it with the *in* statement 
:)


-- 
goto /dev/null



More information about the Python-list mailing list