diff options
author | nicm <nicm> | 2015-04-24 22:19:36 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-04-24 22:19:36 +0000 |
commit | 583b4ab72b7bf66fda8ab63a08fe435483de5e5a (patch) | |
tree | 7620822095c73c5d78942cdfa7005d6a6f50019d /window-copy.c | |
parent | 5a2d0533a84a13613fb356b66ed8ada2a65f6edf (diff) |
Set working directory for run-shell and if-shell.
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 eb00131e..7d5bae4c 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1465,7 +1465,7 @@ window_copy_copy_pipe(struct window_pane *wp, struct session *sess, format_defaults(ft, NULL, sess, NULL, wp); expanded = format_expand(ft, arg); - job = job_run(expanded, sess, NULL, NULL, NULL); + job = job_run(expanded, sess, -1, NULL, NULL, NULL); bufferevent_write(job->event, buf, len); free(expanded); |