Public bug reported:

InstallProgress.run reads, in part, as follows:

    def run(self, pm):
        pid = self.fork()
        if pid == 0:
            # child
            res = pm.DoInstall(self.writefd)
            sys.exit(res)

The use of sys.exit means that any exception handlers registered by the
caller of InstallProgress.run in the parent process will be called,
which is usually very undesirable. Please use os._exit instead.

** Affects: python-apt (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
InstallProgress.run uses sys.exit after fork
https://launchpad.net/bugs/53298

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to