Source

scala.sys.process.ProcessBuilder.Source
trait Source

Represents everything that can be used as an input to a scala.sys.process.ProcessBuilder.

Attributes

Source
ProcessBuilder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

protected def toSource: ProcessBuilder

Attributes

Source
ProcessBuilder.scala

Concrete methods

def #>(f: File): ProcessBuilder

Writes the output stream of this process to the given file.

Writes the output stream of this process to the given file.

Value parameters

f

the file to write the output to

Attributes

Returns

a ProcessBuilder that redirects output to f

Source
ProcessBuilder.scala
def #>(out: => OutputStream): ProcessBuilder

Writes the output stream of this process to the given OutputStream. The argument is call-by-name, so the stream is recreated, written, and closed each time this process is executed.

Writes the output stream of this process to the given OutputStream. The argument is call-by-name, so the stream is recreated, written, and closed each time this process is executed.

Value parameters

out

the output stream to write to, created anew for each execution

Attributes

Returns

a ProcessBuilder that redirects output to out

Source
ProcessBuilder.scala

Writes the output stream of this process to a scala.sys.process.ProcessBuilder.

Writes the output stream of this process to a scala.sys.process.ProcessBuilder.

Value parameters

b

the process builder to receive this process's output as input

Attributes

Returns

a ProcessBuilder that pipes output to b

Source
ProcessBuilder.scala
def #>>(f: File): ProcessBuilder

Appends the output stream of this process to the given file.

Appends the output stream of this process to the given file.

Value parameters

f

the file to append the output to

Attributes

Returns

a ProcessBuilder that appends output to f

Source
ProcessBuilder.scala

Returns a scala.sys.process.ProcessBuilder representing this Source.

Returns a scala.sys.process.ProcessBuilder representing this Source.

Attributes

Source
ProcessBuilder.scala