Description
Code blocks can run in a separate process through a Python context manager. Developers use this helper for isolation, multiprocessing experiments, and code that should not share all process state. Forked code still inherits permissions and resources, so it is not a security sandbox.