popen(1-4) as a seperate process

Fredrik Lundh fredrik at pythonware.com
Fri Nov 17 02:40:15 EST 2006


Astan Chee wrote:

> Yes, that is true. But everytime I run a os.popen() it executes as a 
> child process of the current running one. How do I launch as a seperate 
> process?

what's your definition of "separate process", and how is that different 
from a child process?  (all processes created by a process start out as 
child processes).

> Note that I dont care about whatever happens to the seperate process 
> itself.

so why are you using os.popen() if you're not interested in talking to 
it?  maybe os.system("command&") would be more appropriate ?

</F>




More information about the Python-list mailing list