Okay that way its better something wen&#39;t wrong with the submission :) <br>I altered my control/popen with MAXPDSTRING as Mathieu proposed and it did the trick, although as he mentioned it should block if a cmd is even larger than that.<br>

<br>best regards,<br>Pedro<br>p.s.: just tell me if its needed to re-submit to the tracker, I gotta learn how to use it once and for all!<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 12:16 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</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 style="word-wrap: break-word;"><div><br></div><div>Seems like a good time to take inventory on the options here, since there seem to be many:</div>

<div><br></div><div>flatspace/popen (aka control/popen)</div><div>moonlib/popen</div><div>motex/system</div><div>ggee/shell</div><div><br></div><div>To me, moonlib/popen looks better than flatspace/popen since it allows reading and writing to the pipe.</div>

<div><br></div><div>.hc</div><div><div></div><div class="h5"><br><div><div>On Jun 28, 2010, at 2:05 PM, Pedro Lopes wrote:</div><br><blockquote type="cite">Yes. Crashes here as you mentioned. (shell ok, popen not)<br><br>

======= Backtrace: =========<br>/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x20e008]<br>/lib/tls/i686/cmov/libc.so.6[0x20d040]<br>/lib/tls/i686/cmov/libc.so.6[0x20c36a]<br> /usr/lib/pd-extended/extra/flatspace/popen.pd_linux[0x77abeb]<br>

pdextended(pd_typedmess+0x1fc)[0x80b613c]<br>======= Memory map: =======<br>(too big for posting... if it is useful i can attach it.)<br><br>Ubuntu karmic rt 32 bits<br> Pd version 0.42-5extended-20100530<br>compiled 09:02:05 May 30 2010<br>

<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>

 </blockquote></div><br></div></div><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-size: 12px;"><div>

<br><br></div><div>----------------------------------------------------------------------------<br></div><div><br></div><div>&quot;We have nothing to fear from love and commitment.&quot; - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill</div>

</span></span> </div><br></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes<br>contacto: <a href="mailto:jazz@radiozero.pt">jazz@radiozero.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes">http://web.ist.utl.pt/Pedro.Lopes</a> <br>