Gio.Subprocess.prototype.wait_check
function wait_check(cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for g_subprocess_wait_check()
}
Combines Gio.Subprocess.prototype.wait with GLib.spawn_check_exit_status.
Since 2.40
- cancellable
- Returns
true on success, false if process exited abnormally, or cancellable was cancelled