waitCheckAsync

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

Combines g_subprocess_wait_async() with g_spawn_check_wait_status().

This is the asynchronous version of g_subprocess_wait_check().

Since

2.40

Parameters

cancellable

a #GCancellable, or null

callback

a #GAsyncReadyCallback to call when the operation is complete