UNPKG
pm2-env
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
show process environment variables
github.com/underway2014/pm2-env
underway2014/pm2-env
pm2-env
/
index.js
7 lines
(5 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
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'
))); }