Sounds good to me. I was just responding about the subprocess object -- using the standard python mechanism is preferred as long as it doesn't negatively impact the ability of the NM to manage VMs across restarts.
- Michael On Fri, Nov 12, 2010 at 11:54:39AM -0500, Michael Stroucken wrote: > 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.
