<p>Nice one. I&#39;ll look at that. Cheers Thomas.</p>
<div class="gmail_quote">On Nov 7, 2012 11:45 AM, &quot;Thomas Kluyver&quot; &lt;<a href="mailto:takowl@gmail.com">takowl@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><div class="gmail_quote">On 7 November 2012 01:43, Carl Smith <span dir="ltr">&lt;<a href="mailto:carl.input@gmail.com" target="_blank">carl.input@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>!adb forward tcp:9999 tcp:45001<br>
!export AP_PORT=9999</div></blockquote></div><br>My suspicion would be that !export doesn&#39;t propagate environment variables back to the Python process. I&#39;d try modifying os.environ directly.<br><br>Thomas<br></div>


<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div>