Subprocess.sendSignal

Sends the UNIX signal signal_num to the subprocess, if it is still running.

This API is race-free. If the subprocess has terminated, it will not be signalled.

This API is not available on Windows.

class Subprocess
void
sendSignal
()

Parameters

signalNum int

the signal number to send

Meta

Since

2.40