From 201db83a7f1b7759173b6e9f0a844caef4da6cce Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 9 Feb 2018 16:07:58 +0100 Subject: core, w32: Enable spawning GUI applications * src/engine-spawn.c (engspawn_start): Translate spawn flag to IOSPAWN flag. * src/gpgme-w32spawn.c (my_spawn): Handle the new flag. * src/gpgme.h.in (GPGME_SPAWN_SHOW_WINDOW): New. * src/priv-io.h (IOSPAWN_FLAG_SHOW_WINDOW): New. -- Used by GpgOL --- src/priv-io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/priv-io.h') diff --git a/src/priv-io.h b/src/priv-io.h index 23061756..bc9d3d53 100644 --- a/src/priv-io.h +++ b/src/priv-io.h @@ -83,6 +83,8 @@ int _gpgme_io_set_nonblocking (int fd); #define IOSPAWN_FLAG_ALLOW_SET_FG 2 /* Don't close any child FDs. */ #define IOSPAWN_FLAG_NOCLOSE 4 +/* Set show window to true for windows */ +#define IOSPAWN_FLAG_SHOW_WINDOW 8 /* Spawn the executable PATH with ARGV as arguments. After forking close all fds except for those in FD_LIST in the child, then -- cgit v1.2.3