Subprocess.waitAsync

Wait for the subprocess to terminate.

This is the asynchronous version of g_subprocess_wait().

class Subprocess
void
waitAsync

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