waitAsync

open fun waitAsync(cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Wait for the subprocess to terminate.

This is the asynchronous version of g_subprocess_wait().

Since

2.40

Parameters

cancellable

a #GCancellable, or null

callback

a #GAsyncReadyCallback to call when the operation is complete