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

win: fix spawn() bug

  • Loading branch information...
piscisaureus committed Sep 8, 2011
1 parent 8fd1d71 commit c2741514bc72abc22240adbbc7d0a2e7264f7815
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/win/process.c
@@ -1007,7 +1007,7 @@ int uv_spawn(uv_loop_t* loop, uv_process_t* process,
/* it's way with them. But at least make them noninheritable. */
int i;
for (i = 0; i < COUNTOF(process->child_stdio); i++) {
SetHandleInformation(child_stdio[1], HANDLE_FLAG_INHERIT, 0);
SetHandleInformation(child_stdio[i], HANDLE_FLAG_INHERIT, 0);
}
}

0 comments on commit c274151

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