ID EN
OS

_exit

Python 3.11

Exit the process with status n, without calling cleanup handlers, flushing stdio buffers, etc.

Syntax

PYTHON
os._exit(n)

See Also

sys.exit(n) fork()