[PD] launching PD from python (again)
Frank Barknecht
fbar at footils.org
Thu Sep 7 23:34:22 CEST 2006
Hallo,
altern hat gesagt: // altern wrote:
> it works on XP... funny. is there any special reason to have to pass pd
> as first argument? i am curious now.
spawnl( mode, path, ...)
spawnle( mode, path, ..., env)
spawnlp( mode, file, ...)
spawnlpe( mode, file, ..., env)
spawnv( mode, path, args)
spawnve( mode, path, args, env)
spawnvp( mode, file, args
spawnvpe( mode, file, args, env)
[...]
The "l" and "v" variants of the spawn*() functions differ in how
command-line arguments are passed. The "l" variants are perhaps the
easiest to work with if the number of parameters is fixed when the
code is written; the individual parameters simply become additional
parameters to the spawnl*() functions. The "v" variants are good
when the number of parameters is variable, with the arguments being
passed in a list or tuple as the args parameter. In either case, the
arguments to the child process must start with the name of the
command being run.
http://docs.python.org/lib/os-process.html
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
More information about the Pd-list
mailing list