Re: [Pythonmac-SIG] opening an application from python

2005-09-02 Thread altern
Bob Ippolito(e)k dio: > > On Sep 2, 2005, at 1:29 AM, altern wrote: > >> hi >> >> I am trying to launch a sound application (Pure Data) from a python >> program. For this I am using this code: >> # >> execdir = os.path.dirname(sys.argv[0]) >> pdexc = os.path.join(execdir, >> "/Pd-0.38-4-extended-

Re: [Pythonmac-SIG] opening an application from python

2005-09-02 Thread Bob Ippolito
On Sep 2, 2005, at 1:29 AM, altern wrote: > hi > > I am trying to launch a sound application (Pure Data) from a python > program. For this I am using this code: > # > execdir = os.path.dirname(sys.argv[0]) > pdexc = os.path.join(execdir, > "/Pd-0.38-4-extended-RC1.app/Contents/MacOS/Pd") > arg =

[Pythonmac-SIG] opening an application from python

2005-09-02 Thread altern
hi I am trying to launch a sound application (Pure Data) from a python program. For this I am using this code: # 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, pd