Skip to content

doc: clarify stdout/stderr arguments to callback - #6015

Closed
jasnell wants to merge 2 commits into
nodejs:masterfrom
jasnell:doc-clarify-fs-doc
Closed

doc: clarify stdout/stderr arguments to callback#6015
jasnell wants to merge 2 commits into
nodejs:masterfrom
jasnell:doc-clarify-fs-doc

Conversation

@jasnell

Copy link
Copy Markdown
Member

Pull Request check-list

  • Is the commit message formatted according to [CONTRIBUTING.md][0]?
  • Is a documentation update included (if this change modifies
    existing APIs, or introduces new ones)?

Affected core subsystem(s)

doc

Description of change

Clarify that the arguments to fs.execFile and fs.exec callback can be Buffer or strings.

Fixes: #3389

@jasnelljasnell added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels Apr 2, 2016
@jasnell

Copy link
Copy Markdown
MemberAuthor

@nodejs/documentation

@thefourtheye

Copy link
Copy Markdown
Contributor

LGTM, but the commit log says fs.exec and fs.execFile, they are actually child_process.exec and child_process.execFile.

@jasnell

Copy link
Copy Markdown
MemberAuthor

heh, sigh... it's late

@jasnell
jasnellforce-pushed the doc-clarify-fs-doc branch from a0e0a88 to 746a543CompareApril 2, 2016 06:25
@jasnell

Copy link
Copy Markdown
MemberAuthor

Fixed

@thefourtheye

Copy link
Copy Markdown
Contributor

LGTM

Comment threaddoc/api/child_process.markdown Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would either link to encoding or just leave off the (see below). These things tend to become wrong when things get moved around.

Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.
Fixes: nodejs#3389
@jasnell
jasnellforce-pushed the doc-clarify-fs-doc branch from 746a543 to 8c8910eCompareApril 3, 2016 00:16
@jasnell

Copy link
Copy Markdown
MemberAuthor

@cjihrig ... pulled out the (see below). PTAL

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM

jasnell added a commit that referenced this pull request Apr 3, 2016
Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.
Fixes: #3389
PR-URL: #6015
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@jasnell

Copy link
Copy Markdown
MemberAuthor

Landed in 6fd26dc

@jasnelljasnell closed this Apr 3, 2016
MylesBorins pushed a commit that referenced this pull request Apr 5, 2016
Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.
Fixes: #3389
PR-URL: #6015
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This was referenced Apr 5, 2016
MylesBorins pushed a commit that referenced this pull request Apr 11, 2016
Clarify that the arguments to child_process.execFile
and child_process.exec callback can be Buffer or strings.
Fixes: #3389
PR-URL: #6015
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Apr 11, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.fsIssues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jasnell@thefourtheye@cjihrig@MylesBorins