# Class: ProcessContext

## vertx-shell-js/process_context~ ProcessContext

#### new ProcessContext()

  Allow a process to interact with its context during execution.
  Source:
    - process_context.js, line 31

### Methods

#### end(status)

  End the process.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `status` | number | the termination status

  Source:
    - process_context.js, line 70

#### session() → {Session}

  Source:
    - process_context.js, line 57

  ##### Returns:

  - the shell session
  - Type
      Session

#### tty() → {Tty}

  Source:
    - process_context.js, line 43

  ##### Returns:

  - the tty assocated with this process
  - Type
      Tty