Ah, right on.<br><br><div class="gmail_quote">On Fri, Feb 26, 2010 at 11:14 AM, C. Titus Brown <span dir="ltr"><<a href="mailto:ctb@msu.edu">ctb@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Feb 26, 2010 at 11:06:43AM -0400, Max Laite wrote:<br>
> Ok, so we still want to handle making pip fail though?<br>
<br>
</div>If pip fails *and* we have necessary stuff to install, then how are we going<br>
to install it?<br>
<div class="im"><br>
> So then, we just want to add in cleanup/exit code within the if ret != 0<br>
> block for the required?<br>
<br>
</div>I ...think so?<br>
<div class="im"><br>
> I was reading up on returncode, that is in use in _run_command....We will<br>
> have to see but it sounds like when we use poll() to do the timeout stuff,<br>
> returncode might actually set ret to something other then None (0), so those<br>
> tests in virtualenvContext may not work as setup with ret !=0 .<br>
><br>
> I will dig a little more when i am home.<br>
<br>
</div>None != 0.<br>
<br>
poll() returning None => subprocess not yet finished.<br>
<br>
poll() returning number => subprocess finished<br>
poll() returning 0 => subprocess command was successful.<br>
<br>
cheers,<br>
<font color="#888888">--titus<br>
</font></blockquote></div><br>