summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------Balau0
-rw-r--r--src/Dalos-cli.cc6
2 files changed, 6 insertions, 0 deletions
diff --git a/Balau b/Balau
-Subproject 01e69854c5445ea1ae73cfc0f386d1a7c7b687f
+Subproject a4634497c8ada51755249606d8dc4b4c2761c01
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);
}