[ CCode ( cname = "g_spawn_check_exit_status" ) ]
public bool check_exit_status (int wait_status) throws Error
Warning: check_exit_status is deprecated since 2.70. Use check_wait_status.
An old name for check_wait_status, deprecated because its name is misleading.
Use check_wait_status instead, and check whether your code is conflating wait and exit statuses.
Despite the name of the function,
wait_status must be the wait status as returned by
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
A status as returned from spawn_sync
true if child exited successfully, false otherwise (and throws will be set)