diff options
author | Mike Buland <mike@xagasoft.com> | 2022-09-29 18:08:20 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2022-09-29 18:08:20 -0700 |
commit | 7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102 (patch) | |
tree | e4e90f2dc7c67a6a767e8482e3b55f9f9caab6eb /src/functionexecute.cpp | |
parent | 64949cc6df77f910a1788392586759f784e62ae2 (diff) | |
download | build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.gz build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.bz2 build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.xz build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/functionexecute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) | |||
35 | // TODO This is lame, really lame, we need to exec on our own and process | 35 | // TODO This is lame, really lame, we need to exec on our own and process |
36 | // output appropriately. | 36 | // output appropriately. |
37 | pContext->getView()->cmdStarted( lParams.first().getString() ); | 37 | pContext->getView()->cmdStarted( lParams.first().getString() ); |
38 | Process pCmd( Process::Both, "/bin/bash", "/bin/bash", "-c", | 38 | Process pCmd( Process::Both, "/bin/sh", "/bin/sh", "-c", |
39 | lParams.first().getString().getStr(), NULL ); | 39 | lParams.first().getString().getStr(), NULL ); |
40 | String sStdOut, sStdErr; | 40 | String sStdOut, sStdErr; |
41 | do | 41 | do |