Subprocess.waitCheck

Combines g_subprocess_wait() with g_spawn_check_exit_status().

class Subprocess
bool
waitCheck

Parameters

cancellable Cancellable

a #GCancellable

Return: %TRUE on success, %FALSE if process exited abnormally, or @cancellable was cancelled

Throws

GException on failure.

Meta

Since

2.40