Package-level declarations

Types

Link copied to clipboard

Implements common base functionality for handles which address child processes; there are two implementations of this base provided by Elide:

Link copied to clipboard
abstract class ChildProcessException(message: String, cause: Throwable? = null) : RuntimeException

Base exception type for exceptions which can occur when launching or interacting with child processes.

Link copied to clipboard

Thrown when a synchronously launched child process fails with a non-zero exit code.

Link copied to clipboard

Object returned from async process spawn/exec methods which provide access to the underlying child process; the object exposes access to the process pid, stdin, stdout, stderr, and terminal exit information, in the form of an exitCode, signalCode, killed state, and so on.

Link copied to clipboard

Represents a ChildProcess which executed synchronously, and therefore has already terminated; this object provides access to the pid used for the process, plus stdout and stderr streams, and the status exit of the process (or a signal if the process exited through a signal).

Link copied to clipboard

Thrown when a child process which was spawned or executed through the Node API times out.

Link copied to clipboard
sealed interface ProcessStream : AutoCloseable
Link copied to clipboard

Provider interface for standard parent streams, which are used in cases where stdio is inherited from the parent process to a child process.