@@ -7,4 +7,7 @@ import socket2event
controller = server.Controller(sys.argv[1:])
socket2event.boot_translation_service(controller)
-controller.start()
+try:
+ controller.start()
+except KeyboardInterrupt:
+ pass
@@ -65,7 +65,7 @@ def kill(process):
subprocess.call(["taskkill", "/F", "/T", "/PID", "%i" % process.pid])
elif os.name == "posix":
child_kill(process.pid)
- process.terminate()
+ process.send_signal(signal.SIGINT)
process.wait()
child_kill(os.getpid())