Represents a process that is running or has finished running. It may be a compound process with several underlying native processes (such asa #&& b).
This trait is often not used directly, though its companion object contains factories forscala.sys.process.ProcessBuilder, the main component of this package.
It is used directly when calling the methodrun on aProcessBuilder, which makes the process run in the background. The methods provided onProcess make it possible for one to block until the process exits and get the exit value, or destroy the process altogether.
Destroys this process.
Blocks until this process exits and returns the exit code.
Returns this process alive status