Bradley Meck
70ad9bbcbd
child_process: make fork() execPath configurable
Allows for arbitrary path to executable spawned using `fork`. This
fixes some issues around running multiple versions of node with workers
and allows arbitrary IPC with compatible executables.
Fixes #3248 .
12 years ago
Olivier Lalonde
626db18635
doc: child_process: document uid and gid spawn() options
12 years ago
Robin Lee
a08271c7a8
doc: fix three typos
12 years ago
Kyle Robinson Young
4ef808ec0a
doc: remove unused util from child_process
12 years ago
Ben Noordhuis
4c150ca0d0
net: fix listen() regression, revert patches
This commit reverts the following commits (in reverse chronological order):
74d076c
errnoException must be done immediately
ddb02b9
net: support Server.listen(Pipe)
085a098
cluster: do not use internal server API
d138875
net: lazy listen on handler
Commit d138875
introduced a backwards incompatible change that broke the
simple/test-net-socket-timeout and simple/test-net-lazy-listen tests - it
defers listening on the target port until the `net.Server` instance has at
least one 'connection' event listener.
The other patches had to be reverted in order to revert d138875
.
Fixes #3832 .
12 years ago
Kyle Robinson Young
bc7479d232
doc: fix typos in child_process
12 years ago
Andreas Madsen
d13887512e
net: lazy listen on handler
This allow the server to be shared without the need to handle connection
from master
12 years ago
Bert Belder
9e2319f977
docs: remove unused require from example
Closes GH-3801
12 years ago
Ben Noordhuis
2eb6a62f4f
doc: document child_process.fork() limitation
12 years ago
isaacs
f8dab6acb6
doc: Remove timeout arg in child_process.fork
Fix #3784
12 years ago
Mike Morearty
19aa05fab8
doc: fix bug in child_process.spawn() sample code
12 years ago
Andreas Madsen
401ff10295
doc: `detached` is a boolean
13 years ago
Ben Kelly
c6185c8484
doc: Improve cross-linking in API docs markdown
Cross-link EventEmitter references in API docs to events.html
Fix broken cross-reference links with wrong anchor names in API docs.
13 years ago
Charlie McConnell
4b021a3541
child_process: expose UV_PROCESS_DETACHED as options.detached
13 years ago
Bert Belder
0699f5bfb4
Improve child process stdio documentation
13 years ago
Fedor Indutny
0262b6d2a5
child_process: new stdio API for .spawn() method
13 years ago
Erwin van der Koogh
ccc854d14e
doc: remove all references to setsid
Fixes #2299 .
13 years ago
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
.
13 years ago
Ben Noordhuis
88f416a5ed
docs: add race warning to `child_process.kill()`
13 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