ChildProcessSync

Node: Child Process (Synchronous)

Describes the API made available for a synchronously spawned child process handle; objects of this type are typically returned from Node Process API methods like spawnSync.

Inheritors

Properties

Link copied to clipboard
abstract val error: JsError?

The error object if the child process failed or timed out.

Link copied to clipboard
abstract val output: LazyProcessOutput?

Lazily calculated array of results from stdio output.

Link copied to clipboard
abstract val pid: Long

Returns the process ID for the child process.

Link copied to clipboard
abstract val signal: String?

The signal used to kill the subprocess, or null if the process did not terminate due to a signal.

Link copied to clipboard
abstract val status: Int?

Exit code for the process, or null if the subprocess terminated due to a signal.

Link copied to clipboard

Standard error output stream for the child process.

Link copied to clipboard

Standard output stream for the child process.