Subprocess.waitCheckAsync

Combines g_subprocess_wait_async() with g_spawn_check_exit_status().

This is the asynchronous version of g_subprocess_wait_check().

class Subprocess
void
waitCheckAsync

Parameters

cancellable Cancellable

a #GCancellable, or %NULL

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the operation is complete

userData void*

user_data for @callback

Meta

Since

2.40