diff options
Diffstat (limited to '')
| -rw-r--r-- | src/functiongetmakedeps.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/functiongetmakedeps.cpp b/src/functiongetmakedeps.cpp index 1aded15..008a509 100644 --- a/src/functiongetmakedeps.cpp +++ b/src/functiongetmakedeps.cpp | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | #include "functiongetmakedeps.h" | 1 | #include "functiongetmakedeps.h" |
| 2 | #include "context.h" | ||
| 3 | #include "view.h" | ||
| 2 | 4 | ||
| 3 | #include <bu/process.h> | 5 | #include <bu/process.h> |
| 4 | #include <bu/sio.h> | 6 | #include <bu/sio.h> |
| @@ -19,6 +21,7 @@ Bu::FString FunctionGetMakeDeps::getName() const | |||
| 19 | 21 | ||
| 20 | Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) | 22 | Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) |
| 21 | { | 23 | { |
| 24 | pContext->getView()->cmdStarted( lParams.first().getString().getStr() ); | ||
| 22 | Process p( Process::StdOut, "/bin/bash", "/bin/bash", "-c", | 25 | Process p( Process::StdOut, "/bin/bash", "/bin/bash", "-c", |
| 23 | lParams.first().getString().getStr(), NULL ); | 26 | lParams.first().getString().getStr(), NULL ); |
| 24 | 27 | ||
| @@ -31,6 +34,8 @@ Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) | |||
| 31 | sBuf.append( buf, iRead ); | 34 | sBuf.append( buf, iRead ); |
| 32 | } | 35 | } |
| 33 | 36 | ||
| 37 | pContext->getView()->cmdFinished( "", "", p.childExitStatus() ); | ||
| 38 | |||
| 34 | Variable vRet( Variable::typeList ); | 39 | Variable vRet( Variable::typeList ); |
| 35 | 40 | ||
| 36 | Bu::FString::iterator i, j; | 41 | Bu::FString::iterator i, j; |
