-
Notifications
You must be signed in to change notification settings - Fork 29.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net, child_process, and buffer doc patches #2903
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -366,7 +366,8 @@ callback or returning an EventEmitter). | |
* `env` {Object} Environment key-value pairs | ||
* `stdio` {Array|String} Child's stdio configuration. (See | ||
[below](#child_process_options_stdio)) | ||
* `detached` {Boolean} The child will be a process group leader. (See | ||
* `detached` {Boolean} Prepare child to run independently of it's parent | ||
process. Specific behaviour depends on the platform, see | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw a thread recently about using American English. I don't care, personally, but some people might prefer There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Didn't know the US spelled that differently. I changed it. |
||
[below](#child_process_options_detached)) | ||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).) | ||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).) | ||
|
@@ -505,9 +506,14 @@ Example: | |
|
||
#### options.detached | ||
|
||
If the `detached` option is set, the child process will be made the leader of a | ||
new process group. This makes it possible for the child to continue running | ||
after the parent exits. | ||
On Windows, this makes it possible for the child to continue running after the | ||
parent exits. The child will have a new console window (this cannot be | ||
disabled). | ||
|
||
On non-Windows, if the `detached` option is set, the child process will be made | ||
the leader of a new process group and session. Note that child processes may | ||
continue running after the parent exits whether they are detached or not. See | ||
`setsid(2)` for more information. | ||
|
||
By default, the parent will wait for the detached child to exit. To prevent | ||
the parent from waiting for a given `child`, use the `child.unref()` method, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No apostrophe in
its
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks