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
  • Loading branch information
zcbenz authored and alexeykuzmin committed May 24, 2018
1 parent 76ba048 commit 675f2bb
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 675f2bb

Please sign in to comment.