Consumer

interface Consumer

Consumes output from a Command. The value of CommandResult.out (or CommandResult.err) is this.toString()

Functions

Link copied to clipboard
abstract fun begin()
Link copied to clipboard
abstract fun consume(buffer: Array<Char>, chars: Int)
Link copied to clipboard
abstract fun end(): String
Called after the process has ended.