Expand client formats in run-shell.

pull/306/head
nicm 2016-02-12 12:24:52 +00:00
parent bc0c9c7920
commit 4f6bc0a0a9
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ cmd_run_shell_exec(struct cmd *self, struct cmd_q *cmdq)
else
cwd = NULL;
ft = format_create(cmdq, 0);
format_defaults(ft, NULL, s, wl, wp);
format_defaults(ft, cmdq->state.c, s, wl, wp);
shellcmd = format_expand(ft, args->argv[0]);
format_free(ft);