summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py
index 697cf6f8..7e36da92 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -404,10 +404,10 @@ class ProcReader(object):
if self._proc.stderr is not None:
self._err_thread.start()
- def send_sigint(self) -> None:
- """Send a SIGINT to the process"""
+ def terminate(self) -> None:
+ """Terminate the process"""
import signal
- self._proc.send_signal(signal.SIGINT)
+ self._proc.terminate()
def wait(self) -> None:
"""Wait for the process to finish"""