From 296ce7a59f6a2740e5525acb3ab33d7d758deb79 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Mon, 20 Feb 2023 22:21:46 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/applets/dbeaver/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/terminal/applets/dbeaver/app.py b/apps/terminal/applets/dbeaver/app.py index 3b058eabd..f99fdd54c 100644 --- a/apps/terminal/applets/dbeaver/app.py +++ b/apps/terminal/applets/dbeaver/app.py @@ -70,7 +70,8 @@ class AppletApplication(BaseApplication): startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW startupinfo.wShowWindow = subprocess.SW_HIDE - ret = subprocess.Popen([self.path, '-con', params], startupinfo=startupinfo) + exec_string = '%s -con %s' % (self.path, params) + ret = subprocess.Popen(exec_string, startupinfo=startupinfo) self.pid = ret.pid def wait(self):