Processing (Linux): always set LANG to C before executing child process

This commit is contained in:
李通洲
2023-09-27 15:02:55 +08:00
parent 8b357c27b4
commit 88c12486bf
+1
View File
@@ -38,6 +38,7 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
close(pipes[0]);
close(pipes[1]);
close(useStdErr ? STDOUT_FILENO : STDERR_FILENO);
setenv("LANG", "C", 1);
execvp(argv[0], argv);
exit(901);
}