Class/Object

os

SubProcess

Related Docs: object SubProcess | package os

Permalink

class SubProcess extends ProcessLike

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

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

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Alias for destroy

    Alias for destroy

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

    Permalink

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

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

    Definition Classes
    SubProcessProcessLike
  8. def destroyForcibly(): Unit

    Permalink

    Force-destroys the subprocess, via the underlying JVM APIs

    Force-destroys the subprocess, via the underlying JVM APIs

    Definition Classes
    SubProcessProcessLike
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. val errorPumperThread: Option[Thread]

    Permalink
  12. def exitCode(): Int

    Permalink

    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

    Definition Classes
    SubProcessProcessLike
  13. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val inputPumperThread: Option[Thread]

    Permalink
  17. def isAlive(): Boolean

    Permalink

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

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

    Definition Classes
    SubProcessProcessLike
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def join(timeout: Long = 1): Boolean

    Permalink

    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

    Definition Classes
    SubProcessProcessLike
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val outputPumperThread: Option[Thread]

    Permalink
  24. val stderr: OutputStream

    Permalink
  25. val stdin: InputStream

    Permalink
  26. val stdout: OutputStream

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def waitFor(timeout: Long = 1): Boolean

    Permalink

    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.

    Definition Classes
    SubProcessProcessLike
  33. val wrapped: Process

    Permalink

Inherited from ProcessLike

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped