An old name for g_spawn_check_wait_status(), deprecated because its
name is misleading.
Despite the name of the function, wait_status must be the wait status
as returned by g_spawn_sync(), g_subprocess_get_status(), waitpid(),
etc. On Unix platforms, it is incorrect for it to be the exit status
as passed to exit() or returned by g_subprocess_get_exit_status() or
WEXITSTATUS().
Parameters
Deprecatedwait_status: number
A status as returned from g_spawn_sync()
Returns boolean
true if child exited successfully, false otherwise (and error will be set)
Since
2.34
Deprecated
since 2.70: Use g_spawn_check_wait_status() instead, and check whether your code is conflating wait and exit statuses.
An old name for
g_spawn_check_wait_status(), deprecated because its name is misleading.Despite the name of the function,
wait_statusmust be the wait status as returned byg_spawn_sync(),g_subprocess_get_status(),waitpid(), etc. On Unix platforms, it is incorrect for it to be the exit status as passed toexit()or returned byg_subprocess_get_exit_status()orWEXITSTATUS().