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:
|
try:
|
||||||
proc.wait()
|
proc.wait()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
proc.kill()
|
proc.terminate()
|
||||||
|
proc.wait()
|
||||||
break
|
break
|
||||||
print(separator, file=sys.stderr)
|
print(separator, file=sys.stderr)
|
||||||
if proc.returncode != 0:
|
if proc.returncode != 0:
|
||||||
|
|
Loading…
Reference in a new issue