diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 18:21:03 +0000 |
commit | c435c7daa9df1b08dc85132fcd1c154bea9b69e2 (patch) | |
tree | 5537f3c91a67b35c4c8aa918b708b7e4aad8f146 /src/functionexecute.cpp | |
parent | 59690513123de8904eef2a03fe7fcaaed98b1b7b (diff) | |
download | build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.gz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.bz2 build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.tar.xz build-c435c7daa9df1b08dc85132fcd1c154bea9b69e2.zip |
Fixes to use libbu++ Bu::String
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]; |