From 1c072856ebf12419378c5098ad543c497197c6da Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 10 Sep 2022 12:04:39 +0200 Subject: input: pipe-*: set current CWD when spawning the sub-process Closes #1166 --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index 3aa8b004..0a3773bc 100644 --- a/input.c +++ b/input.c @@ -283,7 +283,7 @@ execute_binding(struct seat *seat, struct terminal *term, } } - if (!spawn(term->reaper, NULL, binding->aux->pipe.args, + if (!spawn(term->reaper, term->cwd, binding->aux->pipe.args, pipe_fd[0], stdout_fd, stderr_fd, NULL)) goto pipe_err; -- cgit v1.3