Process

scala.sys.process.Process
See theProcess companion object
trait Process

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.

Attributes

See also:
Companion:
object
Source:
Process.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def destroy(): Unit

Destroys this process.

Destroys this process.

Attributes

Source:
Process.scala
def exitValue(): Int

Blocks until this process exits and returns the exit code.

Blocks until this process exits and returns the exit code.

Attributes

Source:
Process.scala

Returns this process alive status

Returns this process alive status

Attributes

Source:
Process.scala