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 /window-copy.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 'window-copy.c')
-rw-r--r-- | window-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-copy.c b/window-copy.c index 31140ab3..6eb3d435 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1677,7 +1677,7 @@ window_copy_copy_pipe(struct window_pane *wp, struct session *s, return; expanded = format_single(NULL, arg, NULL, s, NULL, wp); - job = job_run(expanded, s, NULL, NULL, NULL, NULL, NULL); + job = job_run(expanded, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT); bufferevent_write(job->event, buf, len); free(expanded); |