projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17b76a
)
Remove unnecessary Detach
author
Ryan
<ry@tinyclouds.org>
Sun, 21 Jun 2009 21:28:12 +0000
(23:28 +0200)
committer
Ryan
<ry@tinyclouds.org>
Sun, 21 Jun 2009 21:28:12 +0000
(23:28 +0200)
src/process.cc
patch
|
blob
|
history
diff --git
a/src/process.cc
b/src/process.cc
index
3cdeadc
..
6962405
100644
(file)
--- 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