class SubProcess extends AutoCloseable

Represents a spawn subprocess that has started and may or may not have completed.

Linear Supertypes
AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubProcess
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubProcess(wrapped: Process, inputPumperThread: Option[Thread], outputPumperThread: Option[Thread], errorPumperThread: Option[Thread])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(): Unit

    Alias for destroy

    Alias for destroy

    Definition Classes
    SubProcess → AutoCloseable
  7. def destroy(): Unit

    Attempt to destroy the subprocess (gently), via the underlying JVM APIs

  8. def destroyForcibly(): Unit

    Force-destroys the subprocess, via the underlying JVM APIs

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. val errorPumperThread: Option[Thread]
  12. def exitCode(): Int

    The subprocess' exit code.

    The subprocess' exit code. Conventionally, 0 exit code represents a successful termination, and non-zero exit code indicates a failure.

    Throws an exception if the subprocess has not terminated

  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val inputPumperThread: Option[Thread]
  17. def isAlive(): Boolean

    Returns true if the subprocess is still running and has not terminated

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def join(timeout: Long = -1): Boolean

    Wait up to millis for the subprocess to terminate and all stdout and stderr from the subprocess to be handled.

    Wait up to millis for the subprocess to terminate and all stdout and stderr from the subprocess to be handled. By default waits indefinitely; if a time limit is given, explicitly destroys the subprocess if it has not completed by the time the timeout has occurred

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val outputPumperThread: Option[Thread]
  24. val stderr: OutputStream
  25. val stdin: InputStream
  26. val stdout: OutputStream
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def waitFor(timeout: Long = -1): Boolean

    Wait up to millis for the subprocess to terminate, by default waits indefinitely.

    Wait up to millis for the subprocess to terminate, by default waits indefinitely. Returns true if the subprocess has terminated by the time this method returns.

  33. val wrapped: Process

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped