=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.317 retrieving revision 1.318 diff -c -r1.317 -r1.318 *** src/usr.bin/tmux/window-copy.c 2021/02/22 08:31:19 1.317 --- src/usr.bin/tmux/window-copy.c 2021/03/02 10:56:45 1.318 *************** *** 1,4 **** ! /* $OpenBSD: window-copy.c,v 1.317 2021/02/22 08:31:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window-copy.c,v 1.318 2021/03/02 10:56:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 3963,3970 **** if (cmd == NULL || *cmd == '\0') cmd = options_get_string(global_options, "copy-command"); if (cmd != NULL && *cmd != '\0') { ! job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT, ! -1, -1); bufferevent_write(job_get_event(job), buf, *len); } return (buf); --- 3963,3970 ---- if (cmd == NULL || *cmd == '\0') cmd = options_get_string(global_options, "copy-command"); if (cmd != NULL && *cmd != '\0') { ! job = job_run(cmd, 0, NULL, s, NULL, NULL, NULL, NULL, NULL, ! JOB_NOWAIT, -1, -1); bufferevent_write(job_get_event(job), buf, *len); } return (buf);