Subprocess.getStatus
int getStatus()Gets the raw status code of the process, as from waitpid().
This value has no particular meaning, but it can be used with the macros defined by the system headers such as WIFEXITED. It can also be used with [glib.global.spawnCheckWaitStatus].
It is more likely that you want to use [gio.subprocess.Subprocess.getIfExited] followed by [gio.subprocess.Subprocess.getExitStatus].
It is an error to call this function before [gio.subprocess.Subprocess.wait] has returned.
Returns
the (meaningless) waitpid() exit status from the kernel