8 Replies Latest reply on Oct 23, 2015 6:28 PM by CMata_Intel

    Environment Variables not accessible

    digi

      Hi everyone

       

      I'm trying to write a node.js app, which relays on some environment variables which I have put in the .bash_profile file. When I start the node.js application by command line, everything works find and the variables are readable (env.process.FOO). But when I start the app from the XDK, it seems that the app can not reach the variables.

       

      I think the problem is, that while in cli, I'm root, whereas in the other case I'm the xdk deamon. Any ideas on how to access the environment variables even when run from the XDK?

       

      thanks already!