Packages

object ProcessLogger

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

Source
ProcessLogger.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessLogger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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.

    fout

    This function will receive standard output.

    ferr

    This function will receive standard error.

  2. def apply(fn: (String) => Unit): ProcessLogger

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

  3. def apply(file: File): FileProcessLogger

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