summaryrefslogtreecommitdiff
path: root/src/Dalos-cli.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Dalos-cli.cc')
-rw-r--r--src/Dalos-cli.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Dalos-cli.cc b/src/Dalos-cli.cc
index 490f812..7a5c5ba 100644
--- a/src/Dalos-cli.cc
+++ b/src/Dalos-cli.cc
@@ -1,7 +1,13 @@
#include <Main.h>
+#include <TaskMan.h>
+#include <LuaTask.h>
using namespace Balau;
void MainTask::Do() {
Printer::log(M_STATUS, "Dalos-cli starting");
+
+ LuaMainTask * luaMainTask = createTask(new LuaMainTask);
+ LuaExecString luaExecString("print 'foo'");
+ luaExecString.exec(luaMainTask);
}