Packages

trait Process extends AnyRef

Represents a process that is running or has finished running. It may be a compound process with several underlying native processes (such as a #&& b).

This trait is often not used directly, though its companion object contains factories for scala.sys.process.ProcessBuilder, the main component of this package.

It is used directly when calling the method run on a ProcessBuilder, which makes the process run in the background. The methods provided on Process make it possible for one to block until the process exits and get the exit value, or destroy the process altogether.

Source
Process.scala
See also

scala.sys.process.ProcessBuilder

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Process
  2. AnyRef
  3. 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

Abstract Value Members

  1. abstract def destroy(): Unit

    Destroys this process.

  2. abstract def exitValue(): Int

    Blocks until this process exits and returns the exit code.

  3. abstract def isAlive(): Boolean

    Returns this process alive status