correctly set parameters for subprocess starting vim
This commit is contained in:
parent
e8c0830f7d
commit
592f436fd4
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ def edit(filepath: Path, rootpath: Path = None, env=os.environ, servername='tex
|
||||||
subprocess.Popen([
|
subprocess.Popen([
|
||||||
terminal(),
|
terminal(),
|
||||||
"-e",
|
"-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))
|
], env=env, cwd=str(rootpath))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue