Gio.Subprocess.prototype.wait_check_finish

function wait_check_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_subprocess_wait_check_finish()
}
  

Collects the result of a previous call to Gio.Subprocess.prototype.wait_check_async.

Since 2.40

result

the Gio.AsyncResult passed to your Gio.AsyncReadyCallback

Returns

true if successful, or false with @error set