summaryrefslogtreecommitdiff
path: root/scripts/Expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Expect.py')
-rwxr-xr-xscripts/Expect.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py
index 2bca42a14af..bf73f3d8850 100755
--- a/scripts/Expect.py
+++ b/scripts/Expect.py
@@ -343,15 +343,15 @@ def cleanup():
except:
pass
processes.clear()
-atexit.register(cleanup)
+#atexit.register(cleanup)
def signal_handler(signal, frame):
cleanup()
sys.exit(0)
-if win32:
- signal.signal(signal.SIGINT, signal_handler)
-signal.signal(signal.SIGTERM, signal_handler)
+#if win32:
+# signal.signal(signal.SIGINT, signal_handler)
+#signal.signal(signal.SIGTERM, signal_handler)
class Expect (object):
def __init__(self, command, startReader = True, timeout=30, logfile=None, mapping = None, desc = None, cwd = None, env = None):