Subprocess.waitAsync

Wait for the subprocess to terminate.

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

class Subprocess
void
waitAsync

Parameters

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the operation is complete