Skip to content

Commit 9877bc3

Browse files
committed
do not open a new console
1 parent 5f2cbd4 commit 9877bc3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sub-windows.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,9 @@ void process_handle_t::spawn (const char * _command, char *const _arguments[],
279279
memset(&pi, 0, sizeof(PROCESS_INFORMATION));
280280

281281
StartupInfo startupInfo(*this);
282-
startupInfo.info.dwFlags = STARTF_USESHOWWINDOW;
283-
startupInfo.info.wShowWindow = SW_HIDE;
284282

285283
// creation flags
286-
DWORD creation_flags = CREATE_NEW_CONSOLE | CREATE_NEW_PROCESS_GROUP;
284+
DWORD creation_flags = CREATE_NEW_PROCESS_GROUP;
287285

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

0 commit comments

Comments
 (0)