Commit 77c98475 authored by Valentin Reis's avatar Valentin Reis

[feature] makes `cmd run` kill its job when signaled with SIGTERM.

parent 8d750a33
Pipeline #6453 passed with stages
in 4 minutes and 10 seconds
......@@ -58,6 +58,7 @@ class CommandLineInterface(object):
def handler(signum, frame):
self.do_signal(None, signum, frame)
signal.signal(signal.SIGINT, handler)
signal.signal(signal.SIGTERM, handler)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment