mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Try some fixes for external paths (#415)
This commit is contained in:
@ -227,6 +227,10 @@ impl ExternalCommand {
|
||||
|
||||
for arg in &self.args {
|
||||
let arg = trim_enclosing_quotes(arg);
|
||||
let arg = nu_path::expand_path(arg).to_string_lossy().to_string();
|
||||
|
||||
let arg = arg.replace("\\", "\\\\");
|
||||
|
||||
process.arg(&arg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user