Python os.EX_SOFTWARE Constant
Example
Exit code if internal software error found:
#Import os Library
import os
# Exit code
os._exit(os.EX_SOFTWARE)
Try it Yourself »
Definition and Usage
The os.EX_SOFTWARE
exit code represents that internal software produces an error.
Note: Available only on UNIX platforms.
Syntax
os.EX_SOFTWARE
Technical Details
Return Value: | None |
---|---|
Python Version: | 2.3 |