incubator-tashi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stroucken <...@cmu.edu>
Subject Re: fork() exec() in qemu.py
Date Fri, 12 Nov 2010 16:54:39 GMT
Michael Ryan wrote:
> If you want to replace fork() + exec() with subprocess, be my guest -- 
> I was just saying that trying to use subprocess.Popen directly (which 
> returns an object), doesn't buy you anything extra -- you still need 
> to read the controlling pty from output and record the PID in case of 
> NM failure or rolling restart.

I agree. I was seeing the benefit in using pythonisms, rather than OS 
specific mechanisms. The fork and exec way may not work on a certain OS 
from Redmond.

Greetings,
Michael.

Mime
View raw message