[PD-dev] -guiport vs other arguments

Hans-Christoph Steiner hans at eds.org
Tue Jan 13 06:35:10 CET 2009


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 &

.hc

On Jan 12, 2009, at 7:27 PM, Miller Puckette wrote:

> Hmm, over here it does this:
>
> [msp at slash src]$ pd -guiport 5600
> connecting stream socket: Connection refused (111)
> [msp at slash src]$
>
> This seems correct, since there wasn't anybody listening on port 5600.
> cheers
> Miller
>
> On Mon, Jan 12, 2009 at 07:15:48PM -0500, Hans-Christoph Steiner  
> wrote:
>>
>> So I have startup in both directions working,  ('pd.tk' starts 'pd',
>> and 'pd' starts 'pd.tk').  This means you can choose which wish shell
>> to use on any platform, and it'll use that one.  Here's how:
>>
>> wish /path/to/pd.tk
>>
>> This means you can easily use any 'wish' and run Pd with it. It also
>> makes it possible on Mac OS X to run pd in the Pd.app Aqua GUI, or  
>> run
>> it in the wish X11 GUI.   Hopefully it makes the code cleaner too,
>> much fewer #ifdefs.
>>
>> Now I have a question: it seems that if I start 'pd' with -guiport,
>> then it seems to ignore any other command line arguments and dumps  
>> the
>> '-help' text.  Any reason why it shouldn't be possible to use - 
>> guiport
>> with all the rest of the options?  Anyone know how to do this? :D
>>
>> .hc
>>
>>
>> ----------------------------------------------------------------------------
>>
>> "[T]he greatest purveyor of violence in the world today [is] my own
>> government." - Martin Luther King, Jr.
>>
>>
>>
>>
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at iem.at
>> http://lists.puredata.info/listinfo/pd-dev



----------------------------------------------------------------------------

There is no way to peace, peace is the way.       -A.J. Muste






More information about the Pd-dev mailing list