From 00d9b886c1458044cfb2cfa9ccd7b305c3d446e8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 21 Jun 2009 23:28:12 +0200 Subject: [PATCH] Remove unnecessary Detach --- src/process.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/process.cc b/src/process.cc index 3cdeadc39c5..6962405172c 100644 --- a/src/process.cc +++ b/src/process.cc @@ -307,7 +307,6 @@ Process::Spawn (const char *command) dup2(stdin_pipe_[0], STDIN_FILENO); execl("/bin/sh", "sh", "-c", command, (char *)NULL); - //execl(_PATH_BSHELL, "sh", "-c", program, (char *)NULL); _exit(127); } @@ -456,7 +455,6 @@ Process::OnExit (EV_P_ ev_child *watcher, int revents) if (try_catch.HasCaught()) FatalException(try_catch); } process->Shutdown(); - process->Detach(); } int