Skip to content

doc: several properties undocumented on child process #27206

Closed
@martinheidegger

Description

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.

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions