From 7e4e298d761e44cb1c20564a62c40ed26962f113 2009-03-19 20:59:12 From: laurent dufrechou Date: 2009-03-19 20:59:12 Subject: [PATCH] Fiw bug related to Vista subprocess call error --- diff --git a/IPython/frontend/_process/killableprocess.py b/IPython/frontend/_process/killableprocess.py index 955482c..f0f6d92 100644 --- a/IPython/frontend/_process/killableprocess.py +++ b/IPython/frontend/_process/killableprocess.py @@ -151,7 +151,10 @@ else: self._thread = ht self.pid = pid - winprocess.AssignProcessToJobObject(self._job, hp) + try: + winprocess.AssignProcessToJobObject(self._job, hp) + except WindowsError: + pass winprocess.ResumeThread(ht) if p2cread is not None: