Skip to content

Commit be2a282

Browse files
committed
♻️ Refactored command arg parsing.
1 parent 0e62b27 commit be2a282

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/command_utils.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ fn run_command(command: &str) -> Result<Child, std::io::Error> {
6969
args.push(arg.to_owned());
7070
args
7171
}
72-
});
72+
})
73+
.into_iter()
74+
.map(|arg| arg.replace("\"", ""))
75+
.collect::<Vec<_>>();
7376
Command::new(cmd).args(args).spawn()
7477
}
7578

0 commit comments

Comments
 (0)