diff --git a/scripts/window_subprocess.py b/scripts/window_subprocess.py index 89fb84f..e6636d2 100644 --- a/scripts/window_subprocess.py +++ b/scripts/window_subprocess.py @@ -13,7 +13,10 @@ def edit(filepath: Path, rootpath: Path = None, env=os.environ, servername='tex subprocess.Popen([ terminal(), "-e", - f"vim --servername {servername} --remote-silent {str(filepath)}" + f"vim", + f"--servername {servername}", + f"--remote-silent", + f"{str(filepath)}" ], env=env, cwd=str(rootpath))