diff options
Diffstat (limited to 'linuxnamespaces')
-rw-r--r-- | linuxnamespaces/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxnamespaces/__init__.py b/linuxnamespaces/__init__.py index f44220a..c060e01 100644 --- a/linuxnamespaces/__init__.py +++ b/linuxnamespaces/__init__.py @@ -210,7 +210,7 @@ class run_in_fork: self.efd.read() self.efd.close() function() - sys.exit(0) + os._exit(0) def start(self) -> None: """Start the decorated function. It can only be started once.""" |