node.js - How to get user's environment variables in nodejs? -
how read environment variables of specific user in windows nodejs? tried using process.env seems return system variables.
there no such distinction of user's vs. system environment variables. can access of environment variables set for process accessing process.env
. if missing there means there no such environment variable set. if need more environment variables being set either set them before starting node program or change user's config set automatically.
Comments
Post a Comment