Gio.Subprocess.prototype.send_signal

function send_signal(signal_num: Number(gint)): void {
    // Gjs wrapper for g_subprocess_send_signal()
}
  

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.

Since 2.40

signal_num

the signal number to send