mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 21:08:50 +08:00
Force kill web UI in ray stop (#3257)
This commit is contained in:
committed by
Robert Nishihara
parent
9b2794101d
commit
8894883153
@@ -419,7 +419,7 @@ def stop():
|
||||
if "/tmp/ray" in server["notebook_dir"]
|
||||
]
|
||||
subprocess.call(
|
||||
["kill {} 2> /dev/null".format(" ".join(pids))], shell=True)
|
||||
["kill -9 {} 2> /dev/null".format(" ".join(pids))], shell=True)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user