Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: document child_process.fork() limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jul 31, 2012
1 parent f8dab6a commit 2eb6a62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/child_process.markdown
Expand Up @@ -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.
Expand Down

0 comments on commit 2eb6a62

Please sign in to comment.