ID EN
OS

chroot

Python 3.11

Change the root directory of the current process to path.

Syntax

PYTHON
os.chroot(path)

See Also

Availability path-like object