Hans-Christoph Steiner wrote:
I mean if I exec pd from Tcl with more arguments than just "-guiport 5600", I get the output of -help and then pd quits. so say like this:
exec -- $pd_exec -stderr -guiport $portnumber &
hmm, it works here.
this is my tcl-script:
#!/usr/bin/tclsh set pd_exec /usr/local/bin/pd set portnumber 5600 exec -- $pd_exec -stderr -guiport $portnumber
as a temporary "gui"-server i used "nc -l -p 5600"
the behaviour your described happens for me when $portnumber is non-numeric.
fgamsdr IOhannes