sbt

ProcessBuilder

trait ProcessBuilder extends SourcePartialBuilder with SinkPartialBuilder

Represents a runnable process.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ProcessBuilder
  2. SinkPartialBuilder
  3. SourcePartialBuilder
  4. NotNull
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def !(log: ProcessLogger): Int

    Starts the process represented by this builder, blocks until it exits, and returns the exit code.

    Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the given ProcessLogger.

  2. abstract def !: Int

    Starts the process represented by this builder, blocks until it exits, and returns the exit code.

    Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the console.

  3. abstract def !!(log: ProcessLogger): String

    Starts the process represented by this builder, blocks until it exits, and returns the output as a String.

    Starts the process represented by this builder, blocks until it exits, and returns the output as a String. Standard error is sent to the provided ProcessLogger. If the exit code is non-zero, an exception is thrown.

  4. abstract def !!: String

    Starts the process represented by this builder, blocks until it exits, and returns the output as a String.

    Starts the process represented by this builder, blocks until it exits, and returns the output as a String. Standard error is sent to the console. If the exit code is non-zero, an exception is thrown.

  5. abstract def !<(log: ProcessLogger): Int

    Starts the process represented by this builder, blocks until it exits, and returns the exit code.

    Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the given ProcessLogger. The newly started process reads from standard input of the current process.

  6. abstract def !<: Int

    Starts the process represented by this builder, blocks until it exits, and returns the exit code.

    Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the console. The newly started process reads from standard input of the current process.

  7. abstract def ###(other: ProcessBuilder): ProcessBuilder

    Constructs a command that will run this command and then other.

    Constructs a command that will run this command and then other. The exit code will be the exit code of other.

  8. abstract def #&&(other: ProcessBuilder): ProcessBuilder

    Constructs a command that runs this command first and then other if this command succeeds.

  9. abstract def #|(other: ProcessBuilder): ProcessBuilder

    Constructs a command that will run this command and pipes the output to other.

    Constructs a command that will run this command and pipes the output to other. other must be a simple command.

  10. abstract def #||(other: ProcessBuilder): ProcessBuilder

    Constructs a command that runs this command first and then other if this command does not succeed.

  11. abstract def canPipeTo: Boolean

  12. abstract def lines(log: ProcessLogger): Stream[String]

    Starts the process represented by this builder.

    Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the provided ProcessLogger. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.

  13. abstract def lines: Stream[String]

    Starts the process represented by this builder.

    Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the console. If the process exits with a non-zero value, the Stream will provide all lines up to termination and then throw an exception.

  14. abstract def lines_!(log: ProcessLogger): Stream[String]

    Starts the process represented by this builder.

    Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the provided ProcessLogger. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.

  15. abstract def lines_!: Stream[String]

    Starts the process represented by this builder.

    Starts the process represented by this builder. The output is returned as a Stream that blocks when lines are not available but the process has not completed. Standard error is sent to the console. If the process exits with a non-zero value, the Stream will provide all lines up to termination but will not throw an exception.

  16. abstract def run(log: ProcessLogger, connectInput: Boolean): Process

    Starts the process represented by this builder, blocks until it exits, and returns the exit code.

    Starts the process represented by this builder, blocks until it exits, and returns the exit code. Standard output and error are sent to the given ProcessLogger. The newly started process reads from standard input of the current process if connectInput is true.

  17. abstract def run(connectInput: Boolean): Process

    Starts the process represented by this builder.

    Starts the process represented by this builder. Standard output and error are sent to the console. The newly started process reads from standard input of the current process if connectInput is true.

  18. abstract def run(io: ProcessIO): Process

    Starts the process represented by this builder.

    Starts the process represented by this builder. I/O is handled by the given ProcessIO instance.

  19. abstract def run(log: ProcessLogger): Process

    Starts the process represented by this builder.

    Starts the process represented by this builder. Standard output and error are sent to the given ProcessLogger.

  20. abstract def run(): Process

    Starts the process represented by this builder.

    Starts the process represented by this builder. Standard output and error are sent to the console.

  21. abstract def runBuffered(log: ProcessLogger, connectInput: Boolean): Process

  22. abstract def toSink: ProcessBuilder

    Attributes
    protected
    Definition Classes
    SinkPartialBuilder
  23. abstract def toSource: ProcessBuilder

    Attributes
    protected
    Definition Classes
    SourcePartialBuilder

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def #<(b: ProcessBuilder): ProcessBuilder

    Definition Classes
    SinkPartialBuilder
  5. def #<(in: ⇒ InputStream): ProcessBuilder

    Reads the given InputStream into the input stream of this process.

    Reads the given InputStream into the input stream of this process. The argument is call-by-name, so the stream is recreated, read, and closed each time this process is executed.

    Definition Classes
    SinkPartialBuilder
  6. def #<(f: URL): ProcessBuilder

    Reads the given URL into the input stream of this process.

    Reads the given URL into the input stream of this process.

    Definition Classes
    SinkPartialBuilder
  7. def #<(f: File): ProcessBuilder

    Reads the given file into the input stream of this process.

    Reads the given file into the input stream of this process.

    Definition Classes
    SinkPartialBuilder
  8. def #>(b: ProcessBuilder): ProcessBuilder

    Definition Classes
    SourcePartialBuilder
  9. def #>(out: ⇒ OutputStream): ProcessBuilder

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

    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.

    Definition Classes
    SourcePartialBuilder
  10. 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.

    Definition Classes
    SourcePartialBuilder
  11. 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.

    Definition Classes
    SourcePartialBuilder
  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def cat: ProcessBuilder

    Definition Classes
    SourcePartialBuilder
  16. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SinkPartialBuilder

Inherited from SourcePartialBuilder

Inherited from NotNull

Inherited from AnyRef

Inherited from Any