process wrapper?

Donn Cave donn at
Tue Mar 30 01:28:56 CEST 2004

In article <5q6dndSDho6ZNPXd38DK-w at>,
 "Steve @ Waypath" <steve at> wrote:
> "Donn Cave" <donn at> wrote in message
> news:donn-959027.13550629032004 at

> > spawnv returns a process ID, if you use os.P_NOWAIT.  It returns
> > the process exit status if you use os.P_WAIT.  If you look at the
> > code, in, you will see that this second variation is essentially
> > implemented by applying waitpid() to the first.
> So, if I'm following this correctly, if I use os.P_NOWAIT, I shouldn't have
> to apply waitpid(), no? And, then, I shouldn't have a zombie process if I
> use P_NOWAIT, either. Am I getting this?

Well, no, I believe you have it backwards.

   Donn Cave, donn at

More information about the Python-list mailing list