diff options
author | nicm <nicm> | 2018-03-08 08:09:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-03-08 08:09:10 +0000 |
commit | 19f3a5c6120c5d845eb942e67413c03c0c008a87 (patch) | |
tree | fbd4fb03833b499bfa23d77394ba5b6365e00a01 /format.c | |
parent | 85c48aafffd4e520eea2e598ea199e7b16f787cc (diff) | |
download | rtmux-19f3a5c6120c5d845eb942e67413c03c0c008a87.tar.gz rtmux-19f3a5c6120c5d845eb942e67413c03c0c008a87.tar.bz2 rtmux-19f3a5c6120c5d845eb942e67413c03c0c008a87.zip |
Add a missing client-detached hook when the server shuts down, and do
not exit until jobs started from run-shell/if-shell have finished (add a
job flags member and a flag to indicate other jobs). GitHub issue 1245.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ format_job_get(struct format_tree *ft, const char *cmd) t = time(NULL); if (fj->job == NULL && (force || fj->last != t)) { fj->job = job_run(expanded, NULL, NULL, format_job_update, - format_job_complete, NULL, fj); + format_job_complete, NULL, fj, JOB_NOWAIT); if (fj->job == NULL) { free(fj->out); xasprintf(&fj->out, "<'%s' didn't start>", fj->cmd); |