Package-level declarations

Types

Link copied to clipboard

A stream for writing data asynchronously. All *Async function calls utilize Dispatchers.IO + NonCancellable context and simply call BufferedWriteStream blocking APIs.

A stream for writing data asynchronously.

A stream for writing data asynchronously.

Link copied to clipboard
actual sealed class Blocking

Extended by OutputFeed.Handler (which is extended by Process) in order to provide blocking APIs for Jvm & Native.

expect sealed class Blocking

Extended by OutputFeed.Handler (which is extended by Process) in order to provide blocking APIs for Jvm & Native.

actual sealed class Blocking

Extended by OutputFeed.Handler (which is extended by Process) in order to provide blocking APIs for Jvm & Native.

Link copied to clipboard
expect sealed class BufferedWriteStream : Closeable

A stream for writing data synchronously, buffering any writes until 8192 bytes are accumulated.

A stream for writing data synchronously, buffering any writes until 8192 bytes are accumulated.

actual sealed class BufferedWriteStream : Closeable

A stream for writing data synchronously, buffering any writes until 8192 bytes are accumulated.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS])
annotation class InternalProcessApi

Denotes an api as internal and subject to change at any time.

Link copied to clipboard
Link copied to clipboard
fun interface OutputFeed

A callback for obtaining stdout and stderr output.

Link copied to clipboard

A Process.

Link copied to clipboard
class ProcessException : RuntimeException

Represents an error that has been encountered during the runtime of a Process.

Link copied to clipboard
enum Signal : Enum<Signal>

The signal to send when Process.destroy is called.

Link copied to clipboard
sealed class Stdio

Standard input/output stream types for Process stdin, stdout, and stderr.

Functions

Link copied to clipboard

Changes the working directory of the spawned process.

Link copied to clipboard

DEFAULT: false

Link copied to clipboard
fun Process.Builder.shell(enable: Boolean): Process.Builder

DEFAULT: false

Link copied to clipboard

DEFAULT: true

Link copied to clipboard

DEFAULT: true

Link copied to clipboard

DEFAULT: false