Skip to content

Commit 88c1248

Browse files
committed
Processing (Linux): always set LANG to C before executing child process
1 parent 8b357c2 commit 88c1248

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/processing_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
3838
close(pipes[0]);
3939
close(pipes[1]);
4040
close(useStdErr ? STDOUT_FILENO : STDERR_FILENO);
41+
setenv("LANG", "C", 1);
4142
execvp(argv[0], argv);
4243
exit(901);
4344
}

0 commit comments

Comments
 (0)