mirror of https://github.com/libsdl-org/SDL.git
Add the CREATE_NO_WINDOW flag for background processes
Fixes https://github.com/libsdl-org/SDL/issues/12097
This commit is contained in:
parent
8a57c83ff9
commit
c025fdbb7c
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue