Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 5e8eef9

Browse files
zcbenzalexeykuzmin
authored andcommitted
Hide console window when creating process.
(cherry picked from commit 675f2bb)
1 parent d483f62 commit 5e8eef9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/uv/src/win/process.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,9 @@ int uv_spawn(uv_loop_t* loop,
10891089
process_flags |= DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP;
10901090
}
10911091

1092+
/* Don't create console window. */
1093+
process_flags |= CREATE_NO_WINDOW;
1094+
10921095
if (!CreateProcessW(application_path,
10931096
arguments,
10941097
NULL,

0 commit comments

Comments
 (0)