Function pidExists

  • Parameters

    • pid: undefined | number

      process id. Required.

    Returns boolean

    boolean true if the given process id is in the local process table. The PID may be paused or a zombie, though.