Files
buildcache/lua-examples/echo_wrapper.lua
T

12 lines
368 B
Lua
Raw Normal View History

2018-04-28 21:27:44 +02:00
-- match(echo)
-------------------------------------------------------------------------------
-- This is a minimal wrapper that caches stdout from the 'echo' command.
-------------------------------------------------------------------------------
function get_program_id ()
-- We use the full path to the executable as a program identifier.
return ARGS[1]
end