hi, the -stderr flag doesn't seem to work on windows. it has the effect that nothing is printed to the pd-console but it also doesn't print anything to the console pd is launched from. i've tried launching pd from plain cmd.exe, cygwin/cmd.exe and cygwin/rxvt.
sven.
the -stderr flag doesn't seem to work on windows. it has the effect that nothing is printed to the pd-console but it also doesn't print anything to the console pd is launched from. i've tried launching pd from plain cmd.exe, cygwin/cmd.exe and cygwin/rxvt.
see miller's mail about this thread ... there is no difference between miller's pd and devel concerning the console output ...
tim
Tim Blechmann wrote:
see miller's mail about this thread ... there is no difference between miller's pd and devel concerning the console output ...
i guess sven was referring to pd-devel doing faster writing to the builtin shell; so there would be no need to write to the console (via stderr) for speed reasons.
however, i still would prefer to get a console output, since you can trace back a crash way easier (normally my eyes are too slow to see what was printed last in the tk-window, just before it goes away)
mfg.a.sdr IOhannes
IOhannes m zmoelnig wrote:
however, i still would prefer to get a console output, since you can trace back a crash way easier (normally my eyes are too slow to see what was printed last in the tk-window, just before it goes away)
...but the console will disappear as well (unless you've found the secret command to make it stay ;)) What's needed is a facility to dump stderr and stdout to a log file. e.g. you could send a message to pd that specified a file name.
Martin
Martin Peach wrote:
IOhannes m zmoelnig wrote:
however, i still would prefer to get a console output, since you can trace back a crash way easier (normally my eyes are too slow to see what was printed last in the tk-window, just before it goes away)
...but the console will disappear as well (unless you've found the secret command to make it stay ;))
hmm, probably we are misunderstanding each other. by "console" i meant the DOS-box (p<=0.37); with "tk-window" i meant the built-in console in pd>=0.38. i chose "tk-window" just because of this fuzz.
when you start the DOS-box (Alt-r "cmd") and _then_ start the pd-console (or pd.com or whatever), then the DOS-box will not go away when pd crashes.
What's needed is a facility to dump stderr and stdout to a log file. e.g. you could send a message to pd that specified a file name.
i would second this as _another_ option. i think writing to a file is somewhat slower than writing to the stderr.
so i would suggest having the option of running pd either in "windowed" mode or in "console" mode; as an option, the output should be written to a log-file _additionally_.
mfg.asd.r IOhannes
Martin
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list