Builder

Properties

Link copied to clipboard
@JvmField
var maxBuffer: Int

Maximum number of bytes that can be buffered on stdout or stderr. If exceeded, Process will be terminated and output truncated.

Link copied to clipboard
@JvmField
var timeoutMillis: Int

Maximum number of milliseconds the Process is allowed to run. If exceeded, Process will be terminated.

Functions

Link copied to clipboard
fun input(block: () -> ByteArray): Output.Options.Builder

Any input that needs to be passed to the process's stdin stream once it has spawned.

Link copied to clipboard
fun inputUtf8(block: () -> String): Output.Options.Builder

Any input that needs be passed to the process's stdin stream once it has spawned.