Ben Noordhuis
b07acb3808
child_process: fix segfault after failed spawn
The process handle is uninitialized when uv_spawn() fails so don't export the
handle to JS land when that happens. Attempts to close the uninitialized handle
resulted in segmentation faults and memory corruption.
Fixes #2481 .
13 years ago
Ryan Dahl
20ba454ef9
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago
Ryan Dahl
f168f7d702
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
356992fe4d
isolates: isolate-ify the main loop
13 years ago
Ryan Dahl
9d792f3183
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago
Ryan Dahl
87bb848268
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
c3346f6760
isolates: isolate-ify the main loop
13 years ago
Ben Noordhuis
cdcb1118c8
Remove stray NODE_MODULE() semi-colons.
13 years ago
Ryan Dahl
60818b957c
Add missing copyright headers
13 years ago
Ryan Dahl
6cc42927d8
Display sys_errno when UV_UNKNOWN is returned
13 years ago
Ryan Dahl
67b235735e
Remove support for cygwin
13 years ago
Jeroen Janssen
3e667804eb
Fix options_file_memory_leak
Fixes #1714 .
Fixes #1715 .
14 years ago
Ryan Dahl
21cc4c4985
Upgrade libuv to ea4271f
Required adding uv_default_loop() in many places.
14 years ago
Bert Belder
567470b136
Child processes: support windowsVerbatimArguments option
14 years ago
Ben Noordhuis
2bbb468428
child process: bind to libuv's kill process API
Fixes failing test test/simple/test-child-process-kill.js
14 years ago
Ryan Dahl
624dd38d89
child_process_uv: fix test/simple/test-child-process-env
14 years ago
Ryan Dahl
ef767a152b
child_process_uv: fix simple/test-child-process-cwd
14 years ago
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
14 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
14 years ago
Paul Querna
5501a5a641
Add stdlib include for free(), fixing build on linux after f01b241
14 years ago
Ryan Dahl
f01b241057
add wrapper for uv_spawn
process.binding('process_wrap')
14 years ago