Add the CREATE_NO_WINDOW flag for background processes
Fixes https://github.com/libsdl-org/SDL/issues/12097
This commit is contained in:
@@ -313,6 +313,7 @@ bool SDL_SYS_CreateProcessWithProperties(SDL_Process *process, SDL_PropertiesID
|
|||||||
if (stderr_option == SDL_PROCESS_STDIO_INHERITED) {
|
if (stderr_option == SDL_PROCESS_STDIO_INHERITED) {
|
||||||
stderr_option = SDL_PROCESS_STDIO_NULL;
|
stderr_option = SDL_PROCESS_STDIO_NULL;
|
||||||
}
|
}
|
||||||
|
creation_flags |= CREATE_NO_WINDOW;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (stdin_option) {
|
switch (stdin_option) {
|
||||||
|
|||||||
Reference in New Issue
Block a user