kill(_:workerId:)

Sends a signal to the process.

Declaration

func kill(
    _ signal: Int32,
    workerId: Int = 1
)

Parameters

  • signal: The signal to send.

  • workerId: The thread id. Defaults to the main thread.