diff options
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 5dd0d05f..53dd742d 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -1841,8 +1841,10 @@ cmd_exec (struct session *sess, char *tbuf, char *word[], char *word_eol[]) char **argv; int argc; - my_poptParseArgvString (cmd, &argc, &argv); + g_shell_parse_argv (cmd, &argc, &argv, NULL); execvp (argv[0], argv); + + g_strfreev (argv); } /* not reached unless error */ /*printf("exec error\n");*/ |