diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-21 14:24:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-21 14:24:33 +0000 |
commit | 6ddb06d37232a9d02da996e0a83d5acd52002ffc (patch) | |
tree | fb0e3bbd9f4f7e556a08f5e69a871505204efbec /cmd-if-shell.c | |
parent | 69d97f6d4b7a373eb2c05ef2c3ca18be3271871b (diff) | |
download | rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.gz rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.bz2 rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.zip |
Extend jobs to support writing and use that for copy-pipe instead of popen,
from Chris Johnsen.
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index b22e3269..dddd5d4e 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -89,7 +89,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq) cdata->cmdq = cmdq; cmdq->references++; - job_run(shellcmd, cmd_if_shell_callback, cmd_if_shell_free, cdata); + job_run(shellcmd, s, cmd_if_shell_callback, cmd_if_shell_free, cdata); free(shellcmd); if (cdata->bflag) |