mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
fix: set language env when retrying
This commit is contained in:
parent
498a134da3
commit
453511063a
1 changed files with 2 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ pub fn confirm_suggestion(shell: &str, command: &str, highlighted: &str) -> Resu
|
|||
.arg(shell)
|
||||
.arg("-c")
|
||||
.arg(command)
|
||||
.env("LC_ALL", "C")
|
||||
.output()
|
||||
.expect("failed to execute process");
|
||||
let error_msg = String::from_utf8_lossy(&process.stderr);
|
||||
|
|
@ -260,6 +261,7 @@ pub fn confirm_suggestion(shell: &str, command: &str, highlighted: &str) -> Resu
|
|||
let process = std::process::Command::new(shell)
|
||||
.arg("-c")
|
||||
.arg(command)
|
||||
.env("LC_ALL", "C")
|
||||
.output()
|
||||
.expect("failed to execute process");
|
||||
let error_msg = String::from_utf8_lossy(&process.stderr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue