summaryrefslogtreecommitdiffstats
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2021-10-11 10:55:30 +0000
committernicm <nicm>2021-10-11 10:55:30 +0000
commit759efe1b3327a7244c03ecc7b90e0e3c49712d06 (patch)
tree58e4302cb00b591f010c38a6871b1e9a779da5a3 /cmd-if-shell.c
parent7800a431ea63f3be4f0763df3f3a2fae44aeac58 (diff)
Add -e flag to set environment for popup, from Alexis Hildebrandt in
GitHub issue 2924.
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index 211e08d6..205a8ce1 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -118,7 +118,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item)
if (cdata->client != NULL)
cdata->client->references++;
- if (job_run(shellcmd, 0, NULL, s,
+ if (job_run(shellcmd, 0, NULL, NULL, s,
server_client_get_cwd(cmdq_get_client(item), s), NULL,
cmd_if_shell_callback, cmd_if_shell_free, cdata, 0, -1,
-1) == NULL) {