diff options
Diffstat (limited to 'src/parse/ast.rs')
-rw-r--r-- | src/parse/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/ast.rs b/src/parse/ast.rs index 92c04ab..5bceed5 100644 --- a/src/parse/ast.rs +++ b/src/parse/ast.rs @@ -171,7 +171,7 @@ impl Exe { return Self { exe: Word { parts: vec![WordPart::SingleQuoted( - std::env::current_exe() + crate::info::current_exe() .unwrap() .to_str() .unwrap() @@ -370,7 +370,7 @@ impl WordPart { Self::Alternation(_) => unreachable!(), Self::Substitution(commands) => { let mut cmd = tokio::process::Command::new( - std::env::current_exe().unwrap(), + crate::info::current_exe().unwrap(), ); cmd.args(&["-c", &commands]); cmd.stdin(std::process::Stdio::inherit()); |