多开器设置cwd
This commit is contained in:
parent
d30ff8af63
commit
22fb43c987
1 changed files with 2 additions and 5 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue