On Sun Jul 02, 2006 at 08:03:25PM +0000, klaas de Baas wrote:
Hello, is it possible to run windows commands from within PD? Or more specifically, can PD run another program (i.e. a desktop shortcut containing display settings for the display adapter driver)?
[popen], [shell], [system]
shell only works on POSIX/UNIX platforms. popen works on anything but blocks pd until its done (unless youve installed mingw and run eg [bash -c blahblah &(. system doesnt block, but also doesnt return anything..
shell is praobly the best bet on 'nix, but i never got it to not mangle one or both of the command sent and the return values (epsecially if it involved escaping or backticks). on windows, youll have to use the other two..