class Process extends AnyRef
A process managed by the shell.
- Alphabetic
- By Inheritance
- Process
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Process(_asJava: AnyRef)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: AnyRef
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exitCode(): Int
- returns
the process exit code when the status is ExecStatus#TERMINATED otherwise
null
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getSession(): Session
- returns
the process session
-
def
getTty(): Tty
- returns
the process tty
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
interrupt(completionHandler: Handler[Unit]): Boolean
Attempt to interrupt the process.
Attempt to interrupt the process. * @param completionHandler handler called after interrupt callback
- returns
true if the process caught the signal
-
def
interrupt(): Boolean
Attempt to interrupt the process.
Attempt to interrupt the process. * @return true if the process caught the signal
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
resume(foreground: Boolean, completionHandler: Handler[Unit]): Unit
Suspend the process.
Suspend the process. * @param completionHandler handler called after resume callback
-
def
resume(completionHandler: Handler[Unit]): Unit
Suspend the process.
Suspend the process. * @param completionHandler handler called after resume callback
-
def
resume(foreground: Boolean): Unit
Suspend the process.
-
def
resume(): Unit
Suspend the process.
-
def
run(foregraound: Boolean): Unit
Run the process.
-
def
run(): Unit
Run the process.
-
def
setSession(session: Session): Process
Set the process session * @param session the process session
Set the process session * @param session the process session
- returns
this object
-
def
setTty(tty: Tty): Process
Set the process tty.
Set the process tty. * @param tty the process tty
- returns
this object
-
def
status(): ExecStatus
- returns
the current process status
-
def
suspend(completionHandler: Handler[Unit]): Unit
Resume the process.
Resume the process. * @param completionHandler handler called after suspend callback
-
def
suspend(): Unit
Resume the process.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
terminate(completionHandler: Handler[Unit]): Unit
Terminate the process.
Terminate the process. * @param completionHandler handler called after end callback
-
def
terminate(): Unit
Terminate the process.
-
def
terminatedHandler(handler: Handler[Int]): Process
Set an handler for being notified when the process terminates.
Set an handler for being notified when the process terminates. * @param handler the handler called when the process terminates.
- returns
this object
-
def
toBackground(completionHandler: Handler[Unit]): Unit
Set the process in background.
Set the process in background. * @param completionHandler handler called after background callback
-
def
toBackground(): Unit
Set the process in background.
-
def
toForeground(completionHandler: Handler[Unit]): Unit
Set the process in foreground.
Set the process in foreground. * @param completionHandler handler called after foreground callback
-
def
toForeground(): Unit
Set the process in foreground.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )