Windows process: escape backslashes before quotes

This commit is contained in:
Semphris
2024-09-13 22:23:49 -04:00
committed by Sam Lantinga
parent 90e01040c5
commit 3cf54675bb
2 changed files with 13 additions and 0 deletions

View File

@@ -92,6 +92,9 @@ static int SDLCALL process_testArguments(void *arg)
"'a' 'b' 'c'",
"%d%%%s",
"\\t\\c",
"evil\\",
"a\\b\"c\\",
"\"\\^&|<>%", /* characters with a special meaning */
NULL
};
SDL_Process *process = NULL;