Fix #8956. ValueError message was only mentioning one signal.
Rather than list out the three signals (or more over time), the message was
made less specific but still descriptive.
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index e41ffe3..e53b694 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -983,7 +983,7 @@
elif sig == signal.CTRL_BREAK_EVENT:
os.kill(self.pid, signal.CTRL_BREAK_EVENT)
else:
- raise ValueError("Only SIGTERM is supported on Windows")
+ raise ValueError("Unsupported signal")
def terminate(self):
"""Terminates the process