<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><blockquote type="cite"><div class="gmail_quote">On 8 November 2011 14:45, Emmanuel Bacry <span dir="ltr"><<a href="mailto:emmanuel.bacry@polytechnique.fr">emmanuel.bacry@polytechnique.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

If the command is valid, everything goes well. If not (for instance command = "ytytyutuy") then the thread never terminates and nothing is printed on stderr</blockquote></div><br>I take it you've redirected stderr in the same way as stdout? Do you have it set to automatically go to the debugger (call %pdb to toggle it on and off)? If you start your application from a terminal, do you see anything appear in the terminal?<br>

<br></blockquote><div><br></div><div><blockquote type="cite">Thomas<br></blockquote><div><br></div></div><div>Well, no I was careful not to redirect stdout nor stderr.</div><div>I am not using a debugger</div><div>I do start the application from the terminal, when the command is correct, the output goes to the terminal, if it is not, the thead does not end</div><div><br></div></div><br></body></html>