Skip to content

doc: several properties undocumented on child process #27206

Description

@martinheidegger

Tracking back as far as Node 0.12 it seems that the documentation for ChildProcess is missing several properties.

  • exitCode - if the process exited will contain the exit code, else null. Useful in combination with killedif (proc.exitCode !== null || proc.killed) to see if the process is still running.
  • signalCode - not sure what that is good for.
  • spawnfile & spawnargs the initial properties of the spawning. In combination with exec will show what shell is used. Useful for debugging.

Activity

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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions