From a484a65fefc89bce0f3b77503ad35bf86f329680 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 21 Dec 2019 15:29:42 +0100 Subject: term: term_spawn_new: always spawn foot/footclient from PATH --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 4dfe5128..bd79bd08 100644 --- a/terminal.c +++ b/terminal.c @@ -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); } -- cgit v1.3