Function kill

  • Send a signal to a process.

    Parameters

    • pid: number

      The pid of the process to send a signal to.

    • Optional sig: Signal

      The name of the signal to send. Defaults to "SIGTERM".

    Returns void

Generated using TypeDoc