Ah, right on.<br><br><div class="gmail_quote">On Fri, Feb 26, 2010 at 11:14 AM, C. Titus Brown <span dir="ltr">&lt;<a href="mailto:ctb@msu.edu">ctb@msu.edu</a>&gt;</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>
&gt; 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>
&gt; So then, we just want to add in cleanup/exit code within the if ret != 0<br>
&gt; block for the required?<br>
<br>
</div>I ...think so?<br>
<div class="im"><br>
&gt; I was reading up on returncode, that is in use in _run_command....We will<br>
&gt; have to see but it sounds like when we use poll() to do the timeout stuff,<br>
&gt; returncode might actually set ret to something other then None (0), so those<br>
&gt; tests in virtualenvContext may not work as setup with ret !=0 .<br>
&gt;<br>
&gt; I will dig a little more when i am home.<br>
<br>
</div>None != 0.<br>
<br>
poll() returning None =&gt; subprocess not yet finished.<br>
<br>
poll() returning number =&gt; subprocess finished<br>
   poll() returning 0 =&gt; subprocess command was successful.<br>
<br>
cheers,<br>
<font color="#888888">--titus<br>
</font></blockquote></div><br>