2008 08 29NSLogConsole bugfix
NSLogConsole would block when launched from Finder.
stderr
was redirected to a pipe, it worked when launched from XCode and Terminal (when stderr
points to a terminal, like /dev/ttys00*
) but not from the Finder. (stderr
points to /dev/null
). So I took the easy way out :) and redirected to a file thanks to NSTemporaryDirectory
. Not perfect, but works. If any stream wizard know why redirecting stderr
to a pipe blocks when no terminal is attached, please leave a comment.