T
TheSaint
hello,
I'm using to launch a program by subprocess.getstatusoutput. I'd like to
know whether I can get the program ID, in order to avoid another launch.
For clarity sake, I'm calling aria2 (the download manager for linux) and I
wouldn't like to call one more instance of it. So what will I use to find
the PID of the launched program?
I'm using to launch a program by subprocess.getstatusoutput. I'd like to
know whether I can get the program ID, in order to avoid another launch.
For clarity sake, I'm calling aria2 (the download manager for linux) and I
wouldn't like to call one more instance of it. So what will I use to find
the PID of the launched program?