Process

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.

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

Value members

Abstract methods

def destroy(): Unit

Destroys this process.

Destroys this process.

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.

Source
Process.scala

Returns this process alive status

Returns this process alive status

Source
Process.scala