fix: set language env only when getting output

This commit is contained in:
iff 2023-08-06 11:10:50 +02:00
parent bc27f1e882
commit 10a23a7e09
2 changed files with 1 additions and 1 deletions

View file

@ -7,6 +7,7 @@ pub fn command_output(shell: &str, command: &str) -> String {
let output = std::process::Command::new(shell)
.arg("-c")
.arg(command)
.env("LC_ALL", "C")
.output()
.expect("failed to execute process");