mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
term: term_spawn_new: always spawn foot/footclient from PATH
This commit is contained in:
parent
57de9feaa5
commit
a484a65fef
3 changed files with 3 additions and 3 deletions
|
|
@ -1672,7 +1672,7 @@ term_spawn_new(const struct terminal *term)
|
|||
if (pid2 == 0) {
|
||||
/* Child */
|
||||
close(pipe_fds[0]);
|
||||
execl(term->foot_exe, term->foot_exe, NULL);
|
||||
execlp(term->foot_exe, term->foot_exe, NULL);
|
||||
write(pipe_fds[1], &errno, sizeof(errno));
|
||||
_exit(errno);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue