Revision: 3113
Author: jprantan
Date: Mon May  3 00:28:30 2010
Log: Fixed to work with Ctrl-C Ctrl-C
http://code.google.com/p/robotframework/source/detail?r=3113

Modified:
 /trunk/atest/run_atests.py

=======================================
--- /trunk/atest/run_atests.py  Thu Apr 15 02:55:46 2010
+++ /trunk/atest/run_atests.py  Mon May  3 00:28:30 2010
@@ -20,6 +20,7 @@
 $ atest/run_atests.py /usr/bin/jython22 atest/robot/core/variables.html
 """

+import signal
 import subprocess
 import os.path
 import shutil
@@ -77,6 +78,7 @@
command = '%s %s %s %s' % (sys.executable, runner, args, ' '.join(params))
     print 'Running command\n%s\n' % command
     sys.stdout.flush()
+    signal.signal(signal.SIGINT, signal.SIG_IGN)
     return subprocess.call(command.split())


Reply via email to