Processor

open class Processor(val executor: ExecutorService, defaultTimeOut: Long = 6, val printErrors: Boolean = true, val lineReader: (String) -> Any? = null)

Inheritors

Collector

Constructors

Link copied to clipboard
constructor(executor: ExecutorService, defaultTimeOut: Long = 6, printErrors: Boolean = true, lineReader: (String) -> Any? = null)

Types

Link copied to clipboard
inner class MyProcess(val args: List<String>, val timeout: Long, workDir: Path) : Closeable

Properties

Link copied to clipboard
Link copied to clipboard
val lineReader: (String) -> Any? = null
Link copied to clipboard
val printErrors: Boolean = true

Functions

Link copied to clipboard
fun run(args: List<String>, timeout: Long = defaultTimeOut, workPath: Path = Path.of(".")): ByteArray