Exit from os.chroot()

support.intranet support.intranet at libero.it
Wed Jun 4 16:38:04 CEST 2008

Hello! I'm writing a small script and I need to call the os.chroot function. The problem is, a few lines below I need to call a program in /usr/bin. Is there a way to exit from the chroot, or to limit the chroot to a single function or thread?
Thanks in advance

More information about the Python-list mailing list