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.

class Object
trait Matchable
class Any

Value members

Abstract methods

def destroy(): Unit

Destroys this process.

def exitValue(): Int

Blocks until this process exits and returns the exit code.

Returns this process alive status