• Send a signal to a process.

    Parameters

    • pid: number

      The pid of the process to send a signal to.

    • Optionalsig: Signal

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

    Returns void