title: Easy way to pass all environment variables from file to a program on MacOS
body: <p>For now I am running program like this: <code>ENVVAR1=val1 ENVVAR2=val2 myprogram</code>
  What I want is to keep environment variables in a file called <code>.env</code> like this:</p>
  
  <pre><code>ENVVAR1=val1
  ENVVAR2=val2
  </code></pre>
  
  <p>Is there easy way to pass all variables from a file as environment variables to a program?</p>