Commit Graph

4 Commits (b590a45849307f5544b7a95854f45064527105ad)

Author SHA1 Message Date
Ryan d56552dc66 Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
Ryan d428eff023 Snakecase events . 2009-06-29 13:18:30 +02:00
Ryan ed926da691 Remove onEvent compatibility 2009-06-28 19:08:26 +02:00
Ryan 7363ccd273 bugfix: Properly exit a process.
This requires that onExit() is not called immediately upon receiving a
SIGCHLD. There could still be data in the pipez. So, instead just set a
flag and invoke the pipe watchers.

Sometimes one will not receive an EOF from pipes because the process was
killed by a SIGTERM, or something. If SIGCHLD has been recved but we are
getting EAGAIN, the pipez need to be closed too.
2009-06-24 13:44:12 +02:00