Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Implement detached child processes for unix and windows #329

Closed
wants to merge 4 commits into from

Conversation

AvianFlu
Copy link
Contributor

This is a cleaned-up version of #322 with some important bug fixes for unix. Now, on both unix and Windows, processes will detach properly, will not maintain connections to any prior stdio handles, and run as the head of a new process group.

@klepikov
Copy link

PTAL at nodejs/node-v0.x-archive#3344, I would appreciate your comments, especially around killpg().

@klepikov
Copy link

Is this pull request going to be superseded by https://github.com/AvianFlu/libuv/compare/detached2?

That one no longer has a force-close of std streams, or a second fork() -- both of which are IMHO good differences.

It still does not allow to call killpg() on UNIX.

@AvianFlu
Copy link
Contributor Author

Yes, this patch is defunct. I'll close it.

@AvianFlu AvianFlu closed this May 30, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants