title: Setting environment variables for integrated terminal
body: <p>I am seeking help figuring out how to setup environment variables for integrated terminal within Visual Studio Code. Currently I am able to do so with <strong>.env</strong> file inside my workspace folder, but I'd like to change the filename for this file and create another one or two, let's say dev.env and prod.env. Setting "<strong>python.envFile</strong>" for my workspace doesn't do the trick and from what I understand changing things in launch.json is for debugging.</p>
  
  <p>The overall goal of all this (and that is important) is to run flask shell (integrated shell for flask web framework, python) with a certain set of env variables and be able to change them by swapping files. I know I could set these by introducing "<strong>terminal.integrated.env.osx</strong>" to my workspace settings, but I'd rather get these variables from a file.</p>
  
  <p>Thanks a lot for your time and help.</p>
  
  <p><strong>UPD</strong> >></p>
  
  <p>I guess one way to go about it would be to create two tasks as such:</p>
  
  <pre><code>{
      // See https://go.microsoft.com/fwlink/?LinkId=733558
      // for the documentation about the tasks.json format
      "version": "2.0.0",
      "tasks": [
          {
              "label": "FLASK SHELL DEV",
              "type": "shell",
              "command": "source ${workspaceFolder}/dev.env &amp;&amp; ${config:python.pythonPath} -m flask shell",
              "problemMatcher": []
          },
          {
              "label": "FLASK SHELL PROD",
              "type": "shell",
              "command": "source ${workspaceFolder}/prod.env &amp;&amp; ${config:python.pythonPath} -m flask shell",
              "problemMatcher": []
          }
      ]
  }
  </code></pre>
  
  <p>but the question stands. Is there a way to do the same with integrated terminal?</p>