Skip to content

Conversation

skovhus
Copy link
Contributor

@skovhus skovhus commented Nov 19, 2016

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

Document that execFileSync, execSync and spawnSync also supports stdio as an Array for v4.x.

Fixes: #9636

See master branch pull request here #9637

Document that `execFileSync`, `execSync` and `spawnSync` also supports `stdio` as an Array.

Fixes: nodejs#9636
@nodejs-github-bot nodejs-github-bot added child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations. v4.x labels Nov 19, 2016
* `input` {String|Buffer} The value which will be passed as stdin to the spawned process
- supplying this value will override `stdio[0]`
* `stdio` {Array} Child's stdio configuration.
* `stdio` {String|Array} Child's stdio configuration.
Copy link
Contributor

Choose a reason for hiding this comment

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

The default is pipe here as well.

Copy link
Contributor

@Fishrock123 Fishrock123 left a comment

Choose a reason for hiding this comment

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

Addressing @thefourtheye's comment would be nice.

@skovhus
Copy link
Contributor Author

skovhus commented Nov 20, 2016

@thefourtheye thanks, I've addressed your comment.

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM … I guess we’ll just cherry-pick the 2nd commit onto master after this?

@thefourtheye
Copy link
Contributor

@addaleax Ya, that will work. But not directly right? Commits have to go through the PR process.

@addaleax
Copy link
Member

@thefourtheye Yeah, I was asking because the extra commit is going through a review process (this one). But since it doesn’t apply 100 % cleanly I guess another PR is fine, too.

@skovhus
Copy link
Contributor Author

skovhus commented Nov 21, 2016

@addaleax the default is already documented on master. : )

MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
Document that `execFileSync`, `execSync` and `spawnSync` also supports `stdio` as an Array.

PR-URL: #9701
Fixes: #9636
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
PR-URL: #9701
Fixes: #9636
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorins
Copy link
Contributor

landed in 0624e51...86440c2

MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
Document that `execFileSync`, `execSync` and `spawnSync` also supports `stdio` as an Array.

PR-URL: #9701
Fixes: #9636
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
PR-URL: #9701
Fixes: #9636
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Nov 22, 2016
@skovhus skovhus deleted the v4-stdio-fix branch July 8, 2022 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants