<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 6, 2014 at 4:37 PM, Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">So the difference is that it's not a TTY, which makes sense. I guess the process launcher pipes stdout and stderr to a log file somewhere, or just to /dev/null.<span class="HOEnZb"><font color="#888888"><br>
</font></span></div></blockquote></div><br>OK, I've tested and isatty() returns True for a normally started notebook and kernel (opened from a terminal). So that could be the way to test, and in that case, to use a file-based logger for all orphaned output.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Otherwise, debugging this stuff will be insanely hard :)<br clear="all"><div><br></div>-- <br>Fernando Perez (@fperez_org; <a href="http://fperez.org" target="_blank">http://fperez.org</a>)<br>
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)<br>fernando.perez-at-berkeley: contact me here for any direct mail<br>
</div></div>