Synchronously wait for the subprocess to terminate.
After the process terminates you can query its exit status with functions such as Subprocess.getIfExited and Subprocess.getExitStatus.
This function does not fail in the case of the subprocess having abnormal termination. See Subprocess.waitCheck for that.
Cancelling cancellable doesn't kill the subprocess. Call Subprocess.forceExit if it is desirable.
a gio.Cancellable
TRUE on success, FALSE if cancellable was cancelled
GException on failure.
2.40
Synchronously wait for the subprocess to terminate.
After the process terminates you can query its exit status with functions such as Subprocess.getIfExited and Subprocess.getExitStatus.
This function does not fail in the case of the subprocess having abnormal termination. See Subprocess.waitCheck for that.
Cancelling cancellable doesn't kill the subprocess. Call Subprocess.forceExit if it is desirable.