Expand argument to run-shell again.

This commit is contained in:
nicm
2021-09-09 13:38:32 +00:00
parent 5a4b2fd68c
commit 34312fd6ee
5 changed files with 10 additions and 9 deletions

View File

@ -132,7 +132,7 @@ cmd_run_shell_exec(struct cmd *self, struct cmdq_item *item)
if (cmd != NULL)
cdata->cmd = format_single_from_target(item, cmd);
} else {
cdata->cmdlist = args_make_commands_now(self, item, 0);
cdata->cmdlist = args_make_commands_now(self, item, 0, 1);
if (cdata->cmdlist == NULL)
return (CMD_RETURN_ERROR);
}