Package-level declarations

Types

Link copied to clipboard
sealed class InputSource
Link copied to clipboard
data class ProcessResult(val resultCode: Int, val output: List<String>)
Link copied to clipboard
sealed class Redirect

Functions

Link copied to clipboard
suspend fun process(vararg command: String, stdin: InputSource? = null, stdout: Redirect = Redirect.PRINT, stderr: Redirect = Redirect.PRINT, charset: Charset = Charsets.UTF_8, env: Map<String, String>? = null, directory: File? = null, destroyForcibly: Boolean = false, consumer: suspend (String) -> Unit = {}): ProcessResult
Link copied to clipboard

Ensure a process call always conclude correctly.