Ryan Dahl
|
7067a7155f
|
Specify env differently in execFile
Callbacks should always be the last argument.
|
15 years ago |
Сергей Крыжановский
|
078a48a97b
|
added env to child_process.exec
|
15 years ago |
Ryan Dahl
|
d700a6f74a
|
Return child from execFile
|
15 years ago |
Orlando Vazquez
|
92da636b97
|
Add a parameter to spawn() that sets the child's stdio file descriptors.
After the child is forked, these file descriptors will get dup2()'d to STDIN,
STDIO, and STDERR.
(API may be changed.)
|
15 years ago |
Ryan Dahl
|
d38d96eb61
|
Don't emit 'exit' twice from child process
|
15 years ago |
Ryan Dahl
|
264e540d00
|
Fix error reporting in child_process callbacks
Issue 120, test case by Nathan Ostgard
|
15 years ago |
Felix Geisendörfer
|
f8a3cf980f
|
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
|
15 years ago |
Ryan Dahl
|
4efe27bbab
|
Add execFile() for Orlando
Undocumented for now, but basically like exec() with args.
|
15 years ago |
Ryan Dahl
|
9cf2a02d8b
|
Add timeout and maxBuffer options to child_process.exec
|
15 years ago |
Tim Caswell
|
62d9852c3d
|
Replace slow and broken for..in loops with faster for loops over the keys.
|
15 years ago |
Tim Caswell
|
ff56d6364e
|
Fix child_process to use end() instead of close() in the stdin stream.
|
15 years ago |
Ryan Dahl
|
b8bb6e9007
|
Close child process stdin on SIGCHLD
|
15 years ago |
Ryan Dahl
|
1332cafb7c
|
s/Socket/Stream/g
|
15 years ago |
Ryan Dahl
|
04c06b9149
|
child process now use net.Socket
|
15 years ago |