From 2eb6a62f4fafd6ed7aa4fa22b509686e5e910050 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 31 Jul 2012 03:09:04 +0200 Subject: [PATCH] doc: document child_process.fork() limitation --- doc/api/child_process.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index c87e59b4f2..5e1094805b 100644 --- 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.