mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
windows: send CTRL_C_EVENT instead of KILL on KeyboardInterrupt
This commit is contained in:
parent
ad741edb6a
commit
1a8bdfe55a
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def wait_for_active_job():
|
|||
except TimeoutExpired:
|
||||
pass
|
||||
except KeyboardInterrupt:
|
||||
obj.kill()
|
||||
obj.send_signal(signal.CTRL_C_EVENT)
|
||||
else:
|
||||
pgrp = job['pgrp']
|
||||
obj.done = False
|
||||
|
|
Loading…
Add table
Reference in a new issue