Removing extra slop the AI added

This commit is contained in:
2026-08-12 16:00:43 -05:00
parent 0e2986b562
commit 4fbf19dd3b
-4
View File
@@ -51,10 +51,6 @@ Tool make_shell_tool(bool safe) {
return "Error: pipe creation failed";
}
// Set CLOEXEC so background processes don't inherit the pipe
fcntl(pipefd[0], F_SETFD, FD_CLOEXEC);
fcntl(pipefd[1], F_SETFD, FD_CLOEXEC);
pid_t pid = fork();
if (pid < 0) {
close(pipefd[0]); close(pipefd[1]);