diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-09-10 10:04:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-09-10 10:04:39 +0000 |
| commit | 1c072856ebf12419378c5098ad543c497197c6da (patch) | |
| tree | 65211b042573513a28642fbfdf9251b4180b52c0 /input.c | |
| parent | terminal: don’t unref a not-yet-referenced key-binding set (diff) | |
input: pipe-*: set current CWD when spawning the sub-process
Closes #1166
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
