Skip to content

Commit

Permalink
do not open a new console
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartnik committed Jan 8, 2017
1 parent 5f2cbd4 commit 9877bc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sub-windows.cc
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,9 @@ void process_handle_t::spawn (const char * _command, char *const _arguments[],
memset(&pi, 0, sizeof(PROCESS_INFORMATION));

StartupInfo startupInfo(*this);
startupInfo.info.dwFlags = STARTF_USESHOWWINDOW;
startupInfo.info.wShowWindow = SW_HIDE;

// creation flags
DWORD creation_flags = CREATE_NEW_CONSOLE | CREATE_NEW_PROCESS_GROUP;
DWORD creation_flags = CREATE_NEW_PROCESS_GROUP;

// if termination is set to "group", create a job for this process;
// attempt at it at the beginning and not even try to start the process
Expand Down

0 comments on commit 9877bc3

Please sign in to comment.