Blocking

actual sealed class Blocking(source)

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

See also

expect sealed class Blocking(source)

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

Inheritors

actual sealed class Blocking(source)

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

Constructors

Link copied to clipboard
protected actual constructor()
protected expect constructor()
protected actual constructor()

Types

Link copied to clipboard
actual sealed class Builder

Extended by Process.Builder in order to provide blocking APIs for Jvm/Native

expect sealed class Builder

Extended by Process.Builder in order to provide blocking APIs for Jvm/Native

actual sealed class Builder

Extended by Process.Builder in order to provide blocking APIs for Jvm/Native

Link copied to clipboard
object Companion
Link copied to clipboard
actual sealed class Waiter(process: Process)

Extended by OutputFeed.Waiter in order to provide blocking APIs for Jvm & Native.

expect sealed class Waiter(process: Process)

Extended by OutputFeed.Waiter in order to provide blocking APIs for Jvm & Native.

actual sealed class Waiter(process: Process)

Extended by OutputFeed.Waiter in order to provide blocking APIs for Jvm & Native.

Functions

Link copied to clipboard
fun waitFor(): Int

Blocks the current thread until Process completion.

fun waitFor(duration: Duration): Int?

Blocks the current thread for the specified duration, or until Process.exitCode is available (i.e. the Process completed).