mirror of
https://github.com/wassname/ray.git
synced 2026-10-03 12:50:16 +08:00
Force kill web UI in ray stop (#3257)
This commit is contained in:
1 parent
9b2794101d
commit
8894883153
1 file changed
+1
-1
@@ -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