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

Commit e6afee6

Browse files
zcbenzkevinsawicki
authored andcommitted
Hide console window when creating process.
1 parent f4ad6b7 commit e6afee6

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
@@ -1074,6 +1074,9 @@ int uv_spawn(uv_loop_t* loop,
10741074
process_flags |= DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP;
10751075
}
10761076

1077+
/* Don't create console window. */
1078+
process_flags |= CREATE_NO_WINDOW;
1079+
10771080
if (!CreateProcessW(application_path,
10781081
arguments,
10791082
NULL,

0 commit comments

Comments
 (0)