[PD] opening pd from command line in os x

james tittle tigital at mac.com
Thu Mar 2 15:37:05 CET 2006


On Mar 2, 2006, at 6:45 AM, Max Neupert wrote:
> so in my case:
> user$ /Applications/Pd-0.38.4-extended-RC8.app/Contents/MacOS/Pd - 
> rt -noaudio /Users/user/Desktop/patch.pd
>
> but what it does is just opening pd, ignoring the flags and without  
> opening the patch.
>
> what's wrong?

...well, the pd.app's actually have two binaries named "pd":  the one  
you are addressing is actually just a re-named wish shell...when you  
double click the application it calls this renamed wish shell, which  
then loads the AppMain.tcl script (which is just a link to the pd.tk)  
and eventually starts pd:  main take-home point here is that there's  
no argument passing in this chain...

...however, the actual pd binary's path is: /Applications/Pd-0.38.4- 
extended-RC8.app/Contents/Resources/bin/pd

...so, the following should help (never use "-rt" on osx!):

/Applications/Pd-0.38.4-extended-RC8.app/Contents/Resources/bin/pd - 
nrt -noaudio -open /Users/user/Desktop/patch.pd

james




More information about the Pd-list mailing list