mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
Add the CREATE_NO_WINDOW flag for background processes
Fixes https://github.com/libsdl-org/SDL/issues/12097
(cherry picked from commit c025fdbb7c)
This commit is contained in:
@@ -304,6 +304,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