summaryrefslogtreecommitdiff
path: root/gui.c
diff options
context:
space:
mode:
authorAndre Noll <maan@tuebingen.mpg.de>2026-07-22 19:43:18 +0200
committerAndre Noll <maan@tuebingen.mpg.de>2026-08-01 22:18:30 +0200
commit542c4a5da15efc05342f99e092e6a2e2b831c126 (patch)
tree9497c71cf0e2aa04d6980291862869f9921b148c /gui.c
parenta65650c6ecc4b5d1e1af9c856c0f96c9056b724f (diff)
exec: Rename para_exec_cmdline_pid() to xexec().HEADnextmaster
This is shorter and conveys enough information. Rename the static para_exec() as well.
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.c b/gui.c
index a3614474..4c81b43e 100644
--- a/gui.c
+++ b/gui.c
@@ -1012,7 +1012,7 @@ static void exec_and_display(const char *file_and_args)
int ret, fds[3] = {0, 1, 1};
outputf(COLOR_COMMAND, "%s", file_and_args);
- ret = para_exec_cmdline_pid(&exec_pid, file_and_args, fds);
+ ret = xexec(&exec_pid, file_and_args, fds);
if (ret < 0)
return;
ret = mark_fd_nonblocking(fds[1]);
@@ -1046,7 +1046,7 @@ static void exec_external(char *file_and_args)
if (exec_pid)
return;
shutdown_curses();
- para_exec_cmdline_pid(&exec_pid, file_and_args, fds);
+ xexec(&exec_pid, file_and_args, fds);
}
static void handle_command(int c)