Did I mention that foo_timer will die if you take your time doing certain
processes? I could post 'real' code if its necessary.
Say:
local function read_foo( var1, var2 )
local f = io.popen( "ls -A large list please "..var1..var2 )
local d = f:read("*a")
end
local function show_foo()
read_foo("~/Music", "/media/work_backup", some_more_info)
statusd.inform( ... )
end
local function update_foo()
show_foo()
foo_timer:set( ... )
end
statusd.create_timer( ... )
update_foo()
I needed 'coroutines' to solve that problem. Bye!
--
Sorry, I can't find the GH --quiet option.
Mario G.H.