[PD] launching pd from python

nico sl1200mk2 at free.fr
Thu Sep 1 15:58:40 CEST 2005


> #
> execdir = os.path.dirname(sys.argv[0])
> pdexc = os.path.join(execdir, 
> "/Pd-0.38-4-extended-RC1.app/Contents/MacOS/Pd")
> arg = os.path.join(execdir, "audio.pd")
> os.spawnl(os.P_NOWAIT, pdexc, arg)
> # etc ...
>

try with
pdexc = os.path.join(execdir, 
"/Pd-0.38-4-extended-RC1.app/Contents/Resources/bin/pd")






More information about the Pd-list mailing list