ID EN
Multiprocessing

terminate

Python 3.11

Terminate the process. On POSIX this is done using the SIGTERM signal; on Windows TerminateProcess() is used. Note that exit handlers and finally clauses, etc., will not be executed.

Syntax

PYTHON
terminate()

See Also

SIGTERM