Browse Source

doc: document child_process.fork() limitation

v0.8.7-release
Ben Noordhuis 13 years ago
parent
commit
2eb6a62f4f
  1. 3
      doc/api/child_process.markdown

3
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 with the parent's. To change this behavior set the `silent` property in the
`options` object to `true`. `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 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 startup and 10mb memory for each new Node. That is, you cannot create many
thousands of them. thousands of them.

Loading…
Cancel
Save