There was an error while loading. Please reload this page.
1 parent fe3cf9b commit da923b5Copy full SHA for da923b5
1 file changed
GrpcInterface/Python/rips/instance.py
@@ -91,8 +91,8 @@ def __kill_process(pid: int) -> None:
91
Kill the process with a given pid.
92
"""
93
if hasattr(signal, "CTRL_C_EVENT"):
94
- # windows does not have kill
95
- os.kill(pid, signal.CTRL_C_EVENT)
+ # windows - use SIGTERM for process termination
+ os.kill(pid, signal.SIGTERM)
96
else:
97
# linux/unix
98
os.kill(pid, signal.SIGKILL)
0 commit comments