projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dab6a
)
doc: document child_process.fork() limitation
author
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 31 Jul 2012 01:09:04 +0000
(
03:09
+0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 31 Jul 2012 01:09:49 +0000
(
03:09
+0200)
doc/api/child_process.markdown
patch
|
blob
|
history
diff --git
a/doc/api/child_process.markdown
b/doc/api/child_process.markdown
index
c87e59b
..
5e10948
100644
(file)
--- a/
doc/api/child_process.markdown
+++ b/
doc/api/child_process.markdown
@@
-528,6
+528,9
@@
By default the spawned Node process will have the stdout, stderr associated
with the parent's. To change this behavior set the `silent` property in the
`options` object to `true`.
+The child process does not automatically exit once it's done, you need to call
+`process.exit()` explicitly. This limitation may be lifted in the future.
+
These child Nodes are still whole new instances of V8. Assume at least 30ms
startup and 10mb memory for each new Node. That is, you cannot create many
thousands of them.