From 87b8e3d407339eb8515d4373ccd1c7b43a1a732e Mon Sep 17 00:00:00 2001 From: Zhao Zuohong Date: Mon, 23 Sep 2024 17:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnormpath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c0ea37d..5e72fc3 100644 --- a/main.py +++ b/main.py @@ -39,7 +39,7 @@ class Api: def run(self, command, cwd=None): command = shlex.split(command) - command[0] = os.path.normpath(command) + command[0] = os.path.normpath(command[0]) with Popen( command, stdout=PIPE,