spawnCheckExitStatus

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().

More...
bool
spawnCheckExitStatus

Parameters

waitStatus int

A status as returned from glib.global.spawnSync

Return Value

Type: bool

true if child exited successfully, false otherwise (and error will be set)

Detailed Description

Deprecated: Use glib.global.spawnCheckWaitStatus instead, and check whether your code is conflating wait and exit statuses.