This would work: An exec to run the script with output to absolute path, use a deferred inline epp for the template, read the file from within the epp template or use a deferred file read to pass the value as a named parameter to the inlined epp (makes template simpler but the call more complex).