Add -f to pkill arguments
This commit is contained in:
1 parent
0cde283d89
commit
77d34a71f7
1 file changed
+3
-3
+3
-3
@@ -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'])
|
||||
|
||||
Reference in new issue
Block a user