trait Process
Represents a process that is running or has finished running.
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