Subprocess.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 Subprocess.wait has returned.

class Subprocess
bool
getIfExited
()

Return Value

Type: bool

TRUE if the case of a normal exit

Meta

Since

2.40