On 09/28/2012 10:19 AM, Ivica Ico Bukvic wrote:
For an example of that on GNU/Linux, run 'wish'. You'll see that it
launches a
barebones wish window, but you'll also see that wish gives you a prompt. That's a live prompt where you can edit the currently running program, as well as get stdout and stderr. The GNU/Linux code in s_inter.c suppresses that console entirely so that the 'pd' process doesn't give the same
console.
I am familiar with wish but am a bit lost by the latter part of this paragraph. How is s_inter.c suppressing console? Can you give an example how this can be fixed? Will a simple redirection to a file work when starting pd-gui?
If I knew how to fix it, I probably would have already. The code in question is in sys_startgui().
.hc