aboutsummaryrefslogtreecommitdiff
path: root/src/performcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/performcommand.cpp')
-rw-r--r--src/performcommand.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/performcommand.cpp b/src/performcommand.cpp
index 5a9e746..e901b0e 100644
--- a/src/performcommand.cpp
+++ b/src/performcommand.cpp
@@ -1,6 +1,7 @@
1#include "performcommand.h" 1#include "performcommand.h"
2#include "plugger.h" 2#include "plugger.h"
3#include "build.h" 3#include "build.h"
4#include "viewer.h"
4 5
5PluginInterface2(command, PerformCommand, Perform, "Mike Buland", 0, 1 ); 6PluginInterface2(command, PerformCommand, Perform, "Mike Buland", 0, 1 );
6 7
@@ -21,6 +22,7 @@ Perform *PerformCommand::duplicate( Build &bld, const std::string &cont, VarMap
21 22
22void PerformCommand::execute( Build &bld ) 23void PerformCommand::execute( Build &bld )
23{ 24{
25 bld.getView()->executeCmd( lParam.front() );
24 int n = system( lParam.front().c_str() ); 26 int n = system( lParam.front().c_str() );
25 if( n != 0 ) 27 if( n != 0 )
26 throw BuildException( 28 throw BuildException(