summaryrefslogtreecommitdiff
path: root/src/main_loop.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-11-22 18:32:44 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-11-22 18:32:44 +0000
commit79072a3a38c6bba8a704835a9a46772e809469bd (patch)
tree4ea1fbe99a5ddb00f674d5b94d2f0e20d1be4db1 /src/main_loop.lua
parentexec works now (with error pipe back) (diff)
exec works now with prepared stdio setup
git-svn-id: https://svn.spreadspace.org/gcsd/trunk@50 ac14a137-c7f1-4531-abe0-07747231d213
Diffstat (limited to 'src/main_loop.lua')
-rw-r--r--src/main_loop.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main_loop.lua b/src/main_loop.lua
index a428e44..9b9d535 100644
--- a/src/main_loop.lua
+++ b/src/main_loop.lua
@@ -74,13 +74,6 @@ function main_loop(opt)
log.printf(log.NOTICE, "main_loop started")
local sig = signal.init()
- local pid, err = util.exec("./tmp.sh", { "hello world", "gcsd!" }, { "gcsd=super", "dscg=repus" })
- if(pid == nil) then
- log.printf(log.DEBUG, "exec script failed: %s", err)
- else
- log.printf(log.DEBUG, "script started with pid %d", pid)
- end
-
local return_value = module_list:init(opt)
if(return_value == defines.KILL_DAEMON) then
return_value = -1