Skip to content

match child_process.execSync output #6

@timoxley

Description

@timoxley

The object coming out of child_process.execSync has the following properties:

pid Number Pid of the child process
output Array Array of results from stdio output
stdout Buffer|String The contents of output[1]
stderr Buffer|String The contents of output[2]
status Number The exit code of the child process
signal String The signal used to kill the child process
error Error The error object if the child process failed or timed out

While sync-exec appears to only have stdout, stderr and status.

Perhaps would be easy to add these to reach parity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions