Skip to content

Commit c025fdb

Browse files
committed
Add the CREATE_NO_WINDOW flag for background processes
Fixes #12097
1 parent 8a57c83 commit c025fdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/process/windows/SDL_windowsprocess.c

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ bool SDL_SYS_CreateProcessWithProperties(SDL_Process *process, SDL_PropertiesID
313313
if (stderr_option == SDL_PROCESS_STDIO_INHERITED) {
314314
stderr_option = SDL_PROCESS_STDIO_NULL;
315315
}
316+
creation_flags |= CREATE_NO_WINDOW;
316317
}
317318

318319
switch (stdin_option) {

0 commit comments

Comments
 (0)