[PD] launching pd from python

altern altern2 at gmail.com
Thu Sep 1 17:54:28 CEST 2005

nico(e)k dio:
>> #
>> 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")

i already did but it doesnt work at all. Pointing into
at least does open a console and a window like the main Pd window but it 
is called audio.pd
it seems to be confused, it opens pd with the name of the file that PD 
should open??

weird, it looks like some Tcl console or similar.

i keep searching


More information about the Pd-list mailing list