From 7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Sep 2022 18:08:20 -0700 Subject: Oops, assumed bash, using sh now. It should use the SHELL environment variable, and have a backup list, and use shells as defined by the buildscript. --- src/functionexecute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/functionexecute.cpp') diff --git a/src/functionexecute.cpp b/src/functionexecute.cpp index 8d87047..17f49eb 100644 --- a/src/functionexecute.cpp +++ b/src/functionexecute.cpp @@ -35,7 +35,7 @@ Variable FunctionExecute::call( Variable &/*input*/, VarList lParams ) // TODO This is lame, really lame, we need to exec on our own and process // output appropriately. pContext->getView()->cmdStarted( lParams.first().getString() ); - Process pCmd( Process::Both, "/bin/bash", "/bin/bash", "-c", + Process pCmd( Process::Both, "/bin/sh", "/bin/sh", "-c", lParams.first().getString().getStr(), NULL ); String sStdOut, sStdErr; do -- cgit v1.2.3