[PD] -listdev not working on linux without -stderr?

Peter P. peterparker at fastmail.com
Sun Dec 11 10:41:28 CET 2016


* IOhannes m zmölnig <zmoelnig at iem.at> [2016-12-09 11:46]:
> On 12/08/2016 01:05 PM, Peter P. wrote:
> > Hi,
> > 
> > trying Pd-0.47.1 ("") compiled for Debian (0.47.1-3) and the -listdev
> > startup flag does not post any devices to the Pd window unless -stderr
> > is specified as well. Is this intentional?
> 
> i think it's a race condition: the output of listdev gets sent to the
> pd-gui, but the gui is not ready yet to display anything, so it gets lost.
> 
> most likely, Pd should use "stderr" as default print target (even
> without "-stderr") and only switch to the GUI's print target once the
> GUI and the core are indeed connected (and we are not in "-stderr" mode)
Thanks for the explanation! I hope this is easy enough to implement so
it finds its way into one of the next updates.

Best,
P



More information about the Pd-list mailing list