Mystery discovered. Thanks Mathieu.<br>Should it be posted to the tracker?<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 10:25 PM, Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca" target="_blank">matju@artengine.ca</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>On Mon, 28 Jun 2010, Kim Cascone wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
when sent to [popen] it crashes Pd<br>
but sending it to [shell] worked fine<br>
</blockquote>
<br></div>
[popen] does<br>
  char cmd[20] = &quot;&quot;;<br>
<br>
and that&#39;s incredibly small. Change 20 to MAXPDSTRING, for example, though a really &quot;proper&quot; fix would completely prevent the problem even for commands bigger than MAXPDSTRING.<br><font color="#888888">
<br>
 _ _ __ ___ _____ ________ _____________ _____________________ ...<br>
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt" target="_blank">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>