diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 22:23:57 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 22:23:57 +0100 |
commit | c1a2bb29b9110be99c3fe60848dd64291cd14f06 (patch) | |
tree | 76c44f72e2cf8bae05ebb6b594039ef16b236705 | |
parent | dee9615b1fb963d321662e5227c6866a13290a50 (diff) |
Call execvp() directly in __rebuild()
-rw-r--r-- | cbs.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -450,7 +450,8 @@ __rebuild(char *src) cmdclr(&cmd); cmdaddv(&cmd, __cbs_argv, __cbs_argc); cmdput(cmd); - exit(cmdexec(cmd)); + execvp(*cmd.argv, cmd.argv); + die("execvp: %s", *cmd.argv); } int |