ProcessLogger

Provides factories to create scala.sys.process.ProcessLogger, which are used to capture output of scala.sys.process.ProcessBuilder commands when run.

class Object
trait Matchable
class Any

Value members

Concrete methods

Creates a scala.sys.process.ProcessLogger that redirects output to a java.io.File.

Creates a scala.sys.process.ProcessLogger that sends all output, standard and error, to the passed function.

def apply(fout: String => Unit, ferr: String => Unit): ProcessLogger

Creates a scala.sys.process.ProcessLogger that sends all output to the corresponding function.

Value Params
ferr

This function will receive standard error.

fout

This function will receive standard output.

Source
ProcessLogger.scala