From 2a10d964f0bd5d64210adb0537ad04f9410f56db Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 14 Sep 2006 21:33:42 +0000 Subject: Added the make-style view...useful sometimes. --- src/performcommand.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/performcommand.cpp') 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 @@ #include "performcommand.h" #include "plugger.h" #include "build.h" +#include "viewer.h" PluginInterface2(command, PerformCommand, Perform, "Mike Buland", 0, 1 ); @@ -21,6 +22,7 @@ Perform *PerformCommand::duplicate( Build &bld, const std::string &cont, VarMap void PerformCommand::execute( Build &bld ) { + bld.getView()->executeCmd( lParam.front() ); int n = system( lParam.front().c_str() ); if( n != 0 ) throw BuildException( -- cgit v1.2.3