summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/unix/process.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-20 15:42:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-06-20 15:42:49 (GMT)
commitfe11593d3075c6bd7f425c55c7bfbb12b25f8b1f (patch)
tree7437d4f0ab80c04b48f8f0424ca3facf6ed616e5 /Utilities/cmlibuv/src/unix/process.c
parentd94d54966803c579c0139531bfa1282896572008 (diff)
parentdb4667cc727fd7e52f6731642501e680922f72e7 (diff)
downloadCMake-fe11593d3075c6bd7f425c55c7bfbb12b25f8b1f.zip
CMake-fe11593d3075c6bd7f425c55c7bfbb12b25f8b1f.tar.gz
CMake-fe11593d3075c6bd7f425c55c7bfbb12b25f8b1f.tar.bz2
Merge topic 'update-libuv'
db4667cc72 libuv: fix compilation with macOS 10.10 SDK cee57246ef libuv: Add uv__statx() stub to cmake-bootstrap.c 69b139cfca Merge branch 'upstream-libuv' into update-libuv b4069b04ff libuv 2019-06-10 (ee24ce90) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3457
Diffstat (limited to 'Utilities/cmlibuv/src/unix/process.c')
-rw-r--r--Utilities/cmlibuv/src/unix/process.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/unix/process.c b/Utilities/cmlibuv/src/unix/process.c
index e9579f5..f4826bf 100644
--- a/Utilities/cmlibuv/src/unix/process.c
+++ b/Utilities/cmlibuv/src/unix/process.c
@@ -426,6 +426,11 @@ static void uv__process_child_init(const uv_process_options_t* options,
if (n == SIGKILL || n == SIGSTOP)
continue; /* Can't be changed. */
+#if defined(__HAIKU__)
+ if (n == SIGKILLTHR)
+ continue; /* Can't be changed. */
+#endif
+
if (SIG_ERR != signal(n, SIG_DFL))
continue;
@@ -486,6 +491,8 @@ int uv_spawn(uv_loop_t* loop,
UV_PROCESS_SETGID |
UV_PROCESS_SETUID |
UV_PROCESS_WINDOWS_HIDE |
+ UV_PROCESS_WINDOWS_HIDE_CONSOLE |
+ UV_PROCESS_WINDOWS_HIDE_GUI |
UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS)));
uv__handle_init(loop, (uv_handle_t*)process, UV_PROCESS);