多开器设置cwd

This commit is contained in:
zhbaor 2024-09-03 23:07:16 +08:00
parent d30ff8af63
commit 22fb43c987

View file

@ -50,11 +50,8 @@ class Api:
from subprocess import Popen
Popen(
[
sys.executable,
Path(__file__).parent / "webview_ui.py",
self.instances[idx]["path"],
]
[sys.executable, "webview_ui.py", self.instances[idx]["path"]],
cwd=Path(__file__).parent,
)