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(),
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
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will left initialized to
NULLby the function if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.