Subprocess.waitAsync

void waitAsync(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Wait for the subprocess to terminate.

This is the asynchronous version of [gio.subprocess.Subprocess.wait].

Parameters

cancellablea #GCancellable, or null
callbacka #GAsyncReadyCallback to call when the operation is complete