Subprocess.forceExit

void forceExit()

Use an operating-system specific method to attempt an immediate, forceful termination of the process. There is no mechanism to determine whether or not the request itself was successful; however, you can use [gio.subprocess.Subprocess.wait] to monitor the status of the process after calling this function.

On Unix, this function sends SIGKILL.