trait
Process extends AnyRef
Abstract Value Members
-
abstract
def
destroy(): Unit
-
abstract
def
exitValue(): Int
Concrete Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Process, B)
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Process
-
-
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Process, B)
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 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.Presently, one cannot poll the
Process
to see if it has finished.scala.sys.process.ProcessBuilder