Add pipeline function to execute a pipeline of shell commands & Lua functions