Gio.Subprocess.prototype.get_if_signaled

function get_if_signaled(): Boolean {
    // Gjs wrapper for g_subprocess_get_if_signaled()
}
  

Check if the given subprocess terminated in response to a signal.

This is equivalent to the system WIFSIGNALED macro.

It is an error to call this function before Gio.Subprocess.prototype.wait has returned.

Since 2.40

Returns

true if the case of termination due to a signal