镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

child_process,Windows: fix docs for spawn({shell}) #14156

Closed

Activity

  1. added
    child_processIssues and PRs related to the child_process subsystem.
    docIssues and PRs related to Node.js documentation.
    good first issueIssues that are suitable for first-time contributors.
    on Jul 10, 2017
  2. refack commented on Jul 10, 2017

    @refack
    ContributorAuthor

    /cc @nodejs/platform-windows @nodejs/documentation

  3. tniessen commented on Jul 10, 2017

    @tniessen
    Member

    This is one of many problems arising from setting weird environments for child processes.

    Technically, the documentation is not entirely incorrect. Microsoft specifies that COMSPEC must always contain the path to cmd.exe, at least for the root environment, so as long as that is true, the documentation is correct. It is still worth changing this in the documentation as - sadly - it is not always true for child processes...

  4. cjihrig commented on Jul 10, 2017

    @cjihrig
    Contributor

    I think we should say that the value defaults to COMSPEC, and if that is not set, cmd.exe is used.

  5. tniessen commented on Jul 10, 2017

    @tniessen
    Member

    Ref #14157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.docIssues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions