[Win32] Don't open a console window if standard output or standard error
authorTor Lillqvist <tml@iki.fi>
Wed, 22 Sep 2004 21:15:35 +0000 (21:15 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 22 Sep 2004 21:15:35 +0000 (21:15 +0000)
commit7e0e251a98dbb8d5a863969ec88646fde28422c7
tree40d1fd225f5e470c6c3001ae7cd36456fc944703
parentaf13bb21bba4f2f69eed2e7d0d9a2e15b9127d87
[Win32] Don't open a console window if standard output or standard error

2004-09-22  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c: [Win32] Don't open a console window if
standard output or standard error are invalid (as they are for GUI
applications). These console windows that open up unexpectedly
have caused endless amounts of confusion among end-users.

Don't output the process id on Windows. Only output the program
name. If not set with g_set_prgname(), fetch the application
executable's name and use that.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c