Add -f to pkill arguments

This commit is contained in:
andrew committed 2024-01-09 13:23:56 -05:00
1 parent 0cde283d89
commit 77d34a71f7
1 file changed
+3 -3
+3 -3
View File
@@ -565,9 +565,9 @@ class Cutechess:
def kill_everything(dev_process, base_process):
if IS_LINUX:
subprocess.run(['pkill', 'cutechess-ob'])
subprocess.run(['pkill', dev_process])
subprocess.run(['pkill', base_process])
subprocess.run(['pkill', '-f', 'cutechess-ob'])
subprocess.run(['pkill', '-f', dev_process])
subprocess.run(['pkill', '-f', base_process])
if IS_WINDOWS:
subprocess.run(['taskkill', '/f', '/im', 'cutechess-ob.exe'])