修复normpath
This commit is contained in:
parent
a28d3b7d1d
commit
87b8e3d407
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -39,7 +39,7 @@ class Api:
|
||||||
|
|
||||||
def run(self, command, cwd=None):
|
def run(self, command, cwd=None):
|
||||||
command = shlex.split(command)
|
command = shlex.split(command)
|
||||||
command[0] = os.path.normpath(command)
|
command[0] = os.path.normpath(command[0])
|
||||||
with Popen(
|
with Popen(
|
||||||
command,
|
command,
|
||||||
stdout=PIPE,
|
stdout=PIPE,
|
||||||
|
|
Loading…
Reference in a new issue