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

Commit

Permalink
Hide console window when creating process.
Browse files Browse the repository at this point in the history
(cherry picked from commit 675f2bb)
  • Loading branch information
zcbenz authored and alexeykuzmin committed May 25, 2018
1 parent d483f62 commit 5e8eef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/uv/src/win/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5e8eef9

Please sign in to comment.