From 88c12486bfec2b4c57ae006372038989856a1329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 27 Sep 2023 15:02:55 +0800 Subject: [PATCH] Processing (Linux): always set `LANG` to `C` before executing child process --- src/common/processing_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/processing_linux.c b/src/common/processing_linux.c index 815ed1fc8..84bc79cec 100644 --- a/src/common/processing_linux.c +++ b/src/common/processing_linux.c @@ -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); }