Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Inherited FDs should not accidentally be inherited by child processes

This makes test-child-process-detached pass on Windows.
  • Loading branch information...
piscisaureus committed Jun 13, 2012
1 parent 37d75ba commit 09be360a0fee2c7619bae8c4248f9ed3d79d1b30
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/
@@ -2702,6 +2702,9 @@ char** Init(int argc, char *argv[]) {
// Initialize prog_start_time to get relative uptime.

// Make inherited handles noninheritable.

// Parse a few arguments which are specific to Node.
node::ParseArgs(argc, argv);
// Parse the rest of the args (up to the 'option_end_index' (where '--' was

0 comments on commit 09be360

Please sign in to comment.
You can’t perform that action at this time.