error will be set)
spawnCheckExitStatus
fn
bool spawnCheckExitStatus(int waitStatus)An old name for glib.global.spawnCheckWaitStatus, deprecated because its name is misleading.
Despite the name of the function, wait_status must be the wait status as returned by glib.global.spawnSync, gio.subprocess.Subprocess.getStatus, waitpid(), etc. On Unix platforms, it is incorrect for it to be the exit status as passed to exit() or returned by gio.subprocess.Subprocess.getExitStatus or WEXITSTATUS().
Parameters
waitStatus | A status as returned from glib.global.spawnSync |
Returns
true if child exited successfully, false otherwise (and
Throws
Deprecated
Use glib.global.spawnCheckWaitStatus instead, and check whether your code is conflating wait and exit statuses.