From 9c7a586db3248530d8de8c14480d586fdbf247bf Mon Sep 17 00:00:00 2001 From: Huite Bootsma Date: Fri, 27 Oct 2023 16:17:56 +0200 Subject: [PATCH] Separate args in Popen. Fixes #95 --- plugin/qgistim/core/server_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/qgistim/core/server_handler.py b/plugin/qgistim/core/server_handler.py index c196682..6ff3a31 100644 --- a/plugin/qgistim/core/server_handler.py +++ b/plugin/qgistim/core/server_handler.py @@ -65,7 +65,7 @@ def start_server(self, interpreter: str) -> Dict[str, Any]: """ env_vars = self.environmental_variables() self.process = subprocess.Popen( - f"{interpreter} -u -m gistim serve", + [interpreter, "-u", "-m", "gistim", "serve"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,