projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5eea6
)
Kill the PHP Server or Selenium when killing Behat
author
Frederic Massart
<fred@moodle.com>
Mon, 7 Apr 2014 04:55:51 +0000
(12:55 +0800)
committer
Frederic Massart
<fred@moodle.com>
Mon, 7 Apr 2014 04:55:51 +0000
(12:55 +0800)
lib/commands/behat.py
patch
|
blob
|
history
diff --git
a/lib/commands/behat.py
b/lib/commands/behat.py
index
e8b083d
..
4b6f9c9
100644
(file)
--- a/
lib/commands/behat.py
+++ b/
lib/commands/behat.py
@@
-255,7
+255,10
@@
class BehatCommand(Command):
sleep(3)
# Running the tests
- process(cmd, M.path, None, None)
+ try:
+ process(cmd, M.path, None, None)
+ except KeyboardInterrupt:
+ pass
# Kill the remaining processes
if phpServer: