coverage.py: instead of killing (and leaving temporary files undeleted) just send SIGTERM and wait
This commit is contained in:
parent
bf31355c62
commit
28122a8b5c
1 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,8 @@ def main():
|
|||
try:
|
||||
proc.wait()
|
||||
except KeyboardInterrupt:
|
||||
proc.kill()
|
||||
proc.terminate()
|
||||
proc.wait()
|
||||
break
|
||||
print(separator, file=sys.stderr)
|
||||
if proc.returncode != 0:
|
||||
|
|
Loading…
Reference in a new issue