Subprocess.getIfExited

bool getIfExited()

Check if the given subprocess exited normally (ie: by way of exit() or return from main()).

This is equivalent to the system WIFEXITED macro.

It is an error to call this function before [gio.subprocess.Subprocess.wait] has returned.

Returns

true if the case of a normal exit