ProcessLogger (original) (raw)
scala.sys.process.ProcessLogger
See theProcessLogger companion trait
object ProcessLogger
Provides factories to create scala.sys.process.ProcessLogger, which are used to capture output of scala.sys.process.ProcessBuilder commands when run.
Attributes
Companion
Source
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ProcessLogger.type
Members list
Value members
Concrete methods
def apply(file: File): FileProcessLogger
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
.
Attributes
Source
def apply(fn: String => Unit): ProcessLogger
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.
Attributes
Source
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.
Attributes
Source