ID EN
Multiprocessing

close

Python 3.11

Close the Process object, releasing all resources associated with it. ValueError is raised if the underlying process is still running. Once close() returns successfully, most other methods and attributes of the Process object will raise ValueError.

Syntax

PYTHON
close()

See Also

Process ValueError close() Process ValueError