summaryrefslogtreecommitdiff
path: root/glib-zip.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-07 10:10:49 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-09-07 10:10:49 +0000
commit17045b64d3627dd4b9ebc5454b18137e97fbedb2 (patch)
treed9f56c1c6193a2911cc159a17a1bbb65b8131f16 /glib-zip.in
parent81eb80112fdba3b18fd2cf8942ebdf460e8416ad (diff)
Create also a console version of the gspawn-win32-helper program,
2005-09-07 Tor Lillqvist <tml@novell.com> * glib/Makefile.am: Create also a console version of the gspawn-win32-helper program, gspawn-win32-helper-console.exe. It's otherwise identical to gspawn-win32-helper.exe, except marked as a console application (linked without the -mwindows option). * glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes): Drop the dont_wait parameter. Its truth value correlated 100% with the NULLness of the exit_status parameter anyway, so it's enough to check whether exit_status is NULL. Invert the sense of the dont_return_handle parameter and rename it to do_return_handle, to make the code easier to read by avoiding double negations. (g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls to do_spawn_with_pipes() accordingly. (do_spawn_with_pipes): If we have a console, use the console version of the helper program, otherwise use the GUI one. This avoids extra console windows opening up in some situations. (In case a console application uses the GUI gspawn-win32-helper.exe to spawn another console application we would get a separate console for the spawned console application). * glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
Diffstat (limited to 'glib-zip.in')
-rwxr-xr-xglib-zip.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/glib-zip.in b/glib-zip.in
index 6dec45b99..2c9811e75 100755
--- a/glib-zip.in
+++ b/glib-zip.in
@@ -15,6 +15,7 @@ DLLDIR=lib
zip $ZIP -@ <<EOF
COPYING.LIB-2
bin/gspawn-win32-helper.exe
+bin/gspawn-win32-helper-console.exe
$DLLDIR/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
$DLLDIR/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
$DLLDIR/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll