Waiter

sealed class Waiter(process: Process, isDestroyed: Boolean) : Blocking.Waiter(source)

A helper to wait for stdout and stderr asynchronous output to stop after Process.destroy has been called.

See also

Constructors

Link copied to clipboard
protected constructor(process: Process, isDestroyed: Boolean)

Properties

Link copied to clipboard
protected expect val process: Process

Functions

Link copied to clipboard
suspend fun awaitStopAsync(): Process

Delays the current coroutine until the Stdio.Pipe stops producing output.

Link copied to clipboard
protected expect abstract fun isStarted(): Boolean
Link copied to clipboard
protected expect abstract fun isStopped(): Boolean