This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch nouveau4win
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 40443f04b48a9c692dd3e68711cb75ffd1b0f3ef
Author: Robert Newson <[email protected]>
AuthorDate: Fri Jul 21 21:30:14 2023 +0100

    run haproxy and nouveau without shell
---
 dev/run | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/dev/run b/dev/run
index 3b28bc431..823206ae0 100755
--- a/dev/run
+++ b/dev/run
@@ -477,9 +477,7 @@ def boot_haproxy(ctx):
     env = os.environ.copy()
     if "HAPROXY_PORT" not in env:
         env["HAPROXY_PORT"] = ctx["haproxy_port"]
-    return sp.Popen(
-        " ".join(cmd), shell=True, stdin=sp.PIPE, stdout=log, 
stderr=sp.STDOUT, env=env
-    )
+    return sp.Popen(cmd, stdin=sp.PIPE, stdout=log, stderr=sp.STDOUT, env=env)
 
 
 def boot_nouveau(ctx):
@@ -498,9 +496,8 @@ def boot_nouveau(ctx):
     logfname = os.path.join(ctx["devdir"], "logs", "nouveau.log")
     log = open(logfname, "w")
     return sp.Popen(
-        " ".join(cmd),
+        cmd,
         cwd="nouveau",
-        shell=True,
         stdin=sp.PIPE,
         stdout=log,
         stderr=sp.STDOUT,

Reply via email to