From 5e8eef9e9e9533a1d1bc17d86d0c46d9195f172c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 31 Jul 2013 12:35:49 +0800 Subject: [PATCH] Hide console window when creating process. (cherry picked from commit 675f2bb610ebe6e8ba7d36fae79db9b9654a7bdf) --- deps/uv/src/win/process.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/uv/src/win/process.c b/deps/uv/src/win/process.c index 75235222173..4dc3c55178a 100644 --- a/deps/uv/src/win/process.c +++ b/deps/uv/src/win/process.c @@ -1089,6 +1089,9 @@ int uv_spawn(uv_loop_t* loop, process_flags |= DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP; } + /* Don't create console window. */ + process_flags |= CREATE_NO_WINDOW; + if (!CreateProcessW(application_path, arguments, NULL,