On Mon, 28 Jun 2010, Kim Cascone wrote:
when sent to [popen] it crashes Pd but sending it to [shell] worked fine
[popen] does char cmd[20] = "";
and that's incredibly small. Change 20 to MAXPDSTRING, for example, though a really "proper" fix would completely prevent the problem even for commands bigger than MAXPDSTRING.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801