Andreas Madsen
dceebbfa31
child_process: allow sending a net Socket and Server object using child.send
child_process.fork() support sending native hander object, this patch add support for sending
net.Server and net.Socket object by converting the object to a native handle object and back
to a useful object again.
Note when sending a Socket there was emitted by a net Server object, the server.connections
property becomes null, because it is no longer possible to known when it is destroyed.
13 years ago
Andreas Madsen
49f16c4575
doc: move child.send details from child_process.fork to child.send
13 years ago
ANDO Takahiro
ebd0f98e2b
doc: fix callback argument of child_process.exec, execFile
Fixes #3196 .
13 years ago
isaacs
27dfb1d4c0
doc: typo in child_process documentation
13 years ago
isaacs
0fb4fb4797
Document ChildProcess exit/close event difference
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
f28d482cd4
s/child_processes/child_process/
Conflicts:
doc/api/child_process.markdown
13 years ago
Joshua Holbrook
4065b241e8
child_process: remove dummy "setsid" option setting
13 years ago
isaacs
bd880e7f3f
s/child_processes/child_process/
13 years ago
Andreas Madsen
836344c90e
Add disconnect method to forked child processes
This disconnect method allows the child to exit gracefully.
This also adds a disconnect event and connect property.
13 years ago
Andreas Madsen
70884875c9
Allow calling fork() without args or options
Closes GH-2424
13 years ago
Andreas Madsen
e2f1e50c60
typos
fixes #2465
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Andreas Madsen
b084322f52
Add silent option to child_process.fork
Fixes #2354 .
13 years ago
kyle@dontkry.com
34f34e4411
docs: fix typo
Fixes #2193 .
13 years ago
Eric Lovett
8f2b03242d
docs: minor typo fix in child process docs
13 years ago
koichik
96fe50400d
docs: fix typo
13 years ago
Ryan Dahl
5c3954aa6f
docs: make std*Stream spawn opts explicitly internal
Fixes #1884 .
13 years ago
Ben Noordhuis
6ed8d41ddd
docs: fix child_process.send() example
13 years ago
Ben Noordhuis
49c3a910c6
docs: fix typo in code snippet
13 years ago
Ryan Dahl
53c163cd5b
Disable test-child-process-custom-fds.js
13 years ago
Ryan Dahl
0fec213656
Update docs for server fd sharing
13 years ago
Ryan Dahl
b413c77583
Support sending handles to other processes
Needs test.
13 years ago
Marco Rogers
3fc01d9770
docs: note about empty environment in child processes
Fixes #1794 .
13 years ago
Ryan Dahl
70a5659a46
Document child_process.execFile
Fixes #1700
13 years ago
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
14 years ago
Ben Noordhuis
88f416a5ed
docs: add race warning to `child_process.kill()`
14 years ago
Alex Xu
f1b7c42524
Typo: stout -> stdout
Closes #874
14 years ago
Alex Xu
1c174cc1aa
Typo: stout -> stdout
Closes #874
14 years ago
Ryan Dahl
337c48db5f
Rename spawnNode to fork
14 years ago
Ryan Dahl
7ea7094314
Improve spawnNode docs
14 years ago
Ryan Dahl
9e26dab150
child_process.spawnNode
For making easy worker processes.
14 years ago
Ryan Dahl
69c3e1961b
Remove asciiSlice from docs
14 years ago
Zachary Scott
2b2736153d
clean up whitespace in examples
14 years ago
Ryan Dahl
202dd8387f
Add setsid option to child_process
14 years ago
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
14 years ago
Ryan Dahl
bce092aeb8
Remove leading comma examples
14 years ago
Ryan Dahl
c6029c75a4
Remove util.print from docs
Use process.stdout.write()
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago