UNPKG

pm2-env

Version:

show process environment variables

7 lines (5 loc) 216 B
const shell = require('shelljs'); const path = require('path') module.exports = function() { shell.exec(Object.keys(arguments).reduce((a, b) => a + ` "${arguments[b]}"`, path.join(__dirname, './helper.sh'))); }