new ProcessContext()
Allow a process to interact with its context during execution.
- Source:
Methods
-
end(status)
-
End the process.
Parameters:
Name Type Description statusnumber the termination status - Source:
-
session() → {Session}
-
- Source:
Returns:
-
the shell session
-
- Type
- Session
-
tty() → {Tty}
-
- Source:
Returns:
-
the tty assocated with this process
-
- Type
- Tty