mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: pipe-*: set current CWD when spawning the sub-process
Closes #1166
This commit is contained in:
parent
d2e67689ea
commit
1c072856eb
2 changed files with 5 additions and 1 deletions
2
input.c
2
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue