On Feb 24, 2018, at 7:10 AM, pd-list-request@lists.iem.at wrote:

However, this does work:

$  killall pd
$  PORTNUM=5012; pd -nogui -send ";start listen $PORTNUM" -open
netreceive-patch.pd* & sleep 1 ; * pd -nogui -send ";start connect
localhost $PORTNUM" -open netsend-patch.pd

I guess it's a timing issue?

Probably. When scripting Pd with other things that rely on setting up networking connections for OSC, I generally always include a few sleeps to make sure Pd has enough time to startup and start listening.


--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com