Function kill

  • Send a signal to the given process id.

    Parameters

    • pid: undefined | number

      the process id. Required.

    • force: boolean = false

      if true, and the current user has permissions to send the signal, the pid will be forced to shut down. Defaults to false.

    Returns boolean

    Export