Add exec function stub to action context
Add implementation for func_exec()