Skip to content

Commit

Permalink
[#77] Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WagnerPMC committed Sep 23, 2023
1 parent 48b2683 commit 101423d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub fn parse_command<S: Into<String>>(
let argv = shell_words::split(&command_string)?;
Ok(Some((
Command {
program: argv[0].clone(),
program: argv.remove(0),
argv,
},
command_string,
Expand Down

0 comments on commit 101423d

Please sign in to comment.