diff options
Diffstat (limited to '')
| -rw-r--r-- | src/functionexecute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/functionexecute.cpp b/src/functionexecute.cpp index 0b0aabf..070ca53 100644 --- a/src/functionexecute.cpp +++ b/src/functionexecute.cpp | |||
| @@ -18,7 +18,7 @@ FunctionExecute::~FunctionExecute() | |||
| 18 | { | 18 | { |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | Bu::FString FunctionExecute::getName() const | 21 | Bu::String FunctionExecute::getName() const |
| 22 | { | 22 | { |
| 23 | return "execute"; | 23 | return "execute"; |
| 24 | } | 24 | } |
| @@ -30,7 +30,7 @@ Variable FunctionExecute::call( Variable &/*input*/, VarList lParams ) | |||
| 30 | pContext->getView()->cmdStarted( lParams.first().getString() ); | 30 | pContext->getView()->cmdStarted( lParams.first().getString() ); |
| 31 | Process pCmd( Process::Both, "/bin/bash", "/bin/bash", "-c", | 31 | Process pCmd( Process::Both, "/bin/bash", "/bin/bash", "-c", |
| 32 | lParams.first().getString().getStr(), NULL ); | 32 | lParams.first().getString().getStr(), NULL ); |
| 33 | FString sStdOut, sStdErr; | 33 | String sStdOut, sStdErr; |
| 34 | do | 34 | do |
| 35 | { | 35 | { |
| 36 | char buf[4096]; | 36 | char buf[4096]; |
