export function pdfReportRunner(reportName, data) {
let reportRunner1 = spawn('node', ['lib/reports/' + reportName]);
reportRunner1.stderr.pipe(process.stdout);
reportRunner1.stdin.write(JSON.stringify(data, null, '\t'));
reportRunner1.stdin.end();
return reportRunner1.stdout;
}
// Error: write EPIPE
// at exports._errnoException (util.js:890:11)
// at WriteWrap.afterWrite (net.js:767:14)