<p>Hi,</p>
<p>I have packaged my applications using rebar and I am able to execute them using :<br />mynode console -s myapp -smp -myapp myvar 1</p>
<p>The app-specific environment variable myvar correctly takes effect and is accessible in the application.</p>
<p>However, when I execute using:<br />mynode start -s myapp -smp -myapp myvar 1</p>
<p>The variables passed on command line are not accessible. A call to application:get_env(myapp,myvar) return undefined. The values in sys.config however are accessible in both the above cases.</p>
<p>How do I ensure that even using START, the env vars take effect?</p>
<p>Thanks,<br />Yash</p>