Packages

c

scala.sys.process

FileProcessLogger

class FileProcessLogger extends ProcessLogger with Closeable with Flushable

A scala.sys.process.ProcessLogger that writes output to a file.

Source
ProcessLogger.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileProcessLogger
  2. Flushable
  3. Closeable
  4. AutoCloseable
  5. ProcessLogger
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileProcessLogger(file: File)

Value Members

  1. def buffer[T](f: => T): T

    If a process is begun with one of these ProcessBuilder methods:

    If a process is begun with one of these ProcessBuilder methods:

    def !(log: ProcessLogger): Int
    def !<(log: ProcessLogger): Int

    The run will be wrapped in a call to buffer. This gives the logger an opportunity to set up and tear down buffering. At present the library implementations of ProcessLogger simply execute the body unbuffered.

    Definition Classes
    FileProcessLoggerProcessLogger
  2. def close(): Unit
    Definition Classes
    FileProcessLogger → Closeable → AutoCloseable
  3. def err(s: => String): Unit

    Will be called with each line read from the process error stream.

    Will be called with each line read from the process error stream.

    Definition Classes
    FileProcessLoggerProcessLogger
  4. def flush(): Unit
    Definition Classes
    FileProcessLogger → Flushable
  5. def out(s: => String): Unit

    Will be called with each line read from the process output stream.

    Will be called with each line read from the process output stream.

    Definition Classes
    FileProcessLoggerProcessLogger