ProcessLogger

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

Companion:
class
Source:
ProcessLogger.scala
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 redirects output to a java.io.File.

Source:
ProcessLogger.scala

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

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

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

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

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

Value parameters:
ferr

This function will receive standard error.

fout

This function will receive standard output.

Source:
ProcessLogger.scala