From 101423db0f916584d7347076d43e1d5fe06708ab Mon Sep 17 00:00:00 2001 From: WagnerPMC Date: Sat, 23 Sep 2023 20:23:06 +0500 Subject: [PATCH] [#77] Bug fix --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d4730df..141453d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -144,7 +144,7 @@ pub fn parse_command>( let argv = shell_words::split(&command_string)?; Ok(Some(( Command { - program: argv[0].clone(), + program: argv.remove(0), argv, }, command_string,