Andreas Madsen
|
70884875c9
|
Allow calling fork() without args or options
Closes GH-2424
|
13 years ago |
Andreas Madsen
|
ca6ededbd1
|
child_process: add errno property to exceptions
In case of a write failure when using fork() an error would be thrown. The
thrown exception was missing the `errno` property.
|
13 years ago |
Maciej Małecki
|
4d49469d0d
|
child_process: fix typo in internal message event name
|
13 years ago |
Fedor Indutny
|
6b2091b58a
|
debug threads
|
13 years ago |
Ben Noordhuis
|
42281124d4
|
child_process: add isolates support
Passing an options object with {thread:true} to .fork() or .spawn() will run the
target script in a thread instead of a separate process.
|
13 years ago |
Andreas Madsen
|
5f08c3cfa1
|
cluster improvements: Worker class and isolate internal messages
Fixes #2388
|
13 years ago |
Ryan Dahl
|
4428b70cba
|
Add isolate version of test-child-process-fork
|
13 years ago |
Ryan Dahl
|
b319699132
|
Add isolate version of test-child-process-fork
|
13 years ago |
Ben Noordhuis
|
6df7bdd954
|
child_process: make .send() throw if message is undefined
JSON.stringify(undefined) returns "undefined" but JSON.parse() doesn't know how
to parse that.
|
13 years ago |
Andreas Madsen
|
b084322f52
|
Add silent option to child_process.fork
Fixes #2354.
|
13 years ago |
Andreas Madsen
|
a599aeb2a8
|
jslint
Fixes #2306
|
13 years ago |
Ryan Dahl
|
60e26668b3
|
Remove superfluous 'new'
|
13 years ago |
Thomas Shinnick
|
eba1f7b1a4
|
child_process: fix order of args to errnoException()
|
13 years ago |
Bert Belder
|
189dd8f803
|
Fix line endings and trailing whitespace
|
13 years ago |
Maciej Małecki
|
6bd0bcd5af
|
child_process: in a new `ChildProcess` set `killed` to false
This behavior is consistent with what v0.4 does.
|
13 years ago |
Igor Zinkovsky
|
3060266ff1
|
windows: enable pending accepts knob
|
13 years ago |
koichik
|
8a729270c1
|
fix for --harmony_block_scoping
Fixes #1969.
|
13 years ago |
koichik
|
a09b747f30
|
child_process.fork: don't modify args
Fixes #1888.
|
13 years ago |
Ryan Dahl
|
651b8a06d6
|
Fix test/pummel/test-exec.js
|
13 years ago |
Daniel Ennis
|
59be975322
|
Improve IPC performance.
Reading of JSON data off the buffer, 10-15% performance increase.
Fixes #1864.
|
13 years ago |
Ryan Dahl
|
96e423a665
|
Remove child_process_legacy
|
13 years ago |
Ryan Dahl
|
8c738fa90c
|
child_process.fork: don't overwrite env
thanks to Malte-Thorben Bruns for pointing this out
|
13 years ago |
Ryan Dahl
|
12486a6437
|
Change API for sending handles
Does not support sending net.Server objects only raw TCPWrap objects.
|
13 years ago |
Ryan Dahl
|
26c08a3f35
|
Do load balancing test in test-child-process-fork2.
|
13 years ago |
Ryan Dahl
|
899358e797
|
Add test-child-process-fork2 and fixes to make it work
|
13 years ago |
Ryan Dahl
|
b413c77583
|
Support sending handles to other processes
Needs test.
|
13 years ago |
Ryan Dahl
|
26c5905a99
|
Reimplement child_process.fork
Fixes test/simple/test-child-process-fork.js
|
13 years ago |
Colton Baker
|
87286cc737
|
Fixed a lot of jslint errors.
Fixes #1831
|
13 years ago |
Ryan Dahl
|
70966002c0
|
Forward customFds to ChildProcess.spawn
Fixes #1695
|
13 years ago |
Bert Belder
|
567470b136
|
Child processes: support windowsVerbatimArguments option
|
13 years ago |
Ben Noordhuis
|
5a49522ba7
|
child process: don't send signal if process is already terminated
Fixes failing test test/simple/test-exec-max-buffer.js
|
13 years ago |
Ben Noordhuis
|
2bbb468428
|
child process: bind to libuv's kill process API
Fixes failing test test/simple/test-child-process-kill.js
|
13 years ago |
Ryan Dahl
|
2908f323e1
|
win: fix test-child-process-exec-cwd
|
13 years ago |
Ryan Dahl
|
9166f85285
|
Remove debug code
|
13 years ago |
Ryan Dahl
|
b30ad11b59
|
child_process_uv: Handle spawn errors
|
13 years ago |
Ryan Dahl
|
624dd38d89
|
child_process_uv: fix test/simple/test-child-process-env
|
13 years ago |
Ryan Dahl
|
19a62589b2
|
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
|
13 years ago |
Ryan Dahl
|
4ac633bf21
|
Forgot to add child_process_uv.js
|
13 years ago |