Advertisement
alseambusher

Wrong exec with env

Sep 15th, 2016
9,587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. child_process.exec("command", {env: {
  2.                                     "MY_ENV1": "value",
  3.                                     "MY_ENV2": "value2"
  4.                                     }}, (error, stdout, stderr) => {});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement