Mystery discovered. Thanks Mathieu. Should it be posted to the tracker?
On Mon, Jun 28, 2010 at 10:25 PM, Mathieu Bouchard matju@artengine.cawrote:
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 _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list