title: VS Code build task: "cd" command not working
body: <p>I am trying to create a build task to quickly deal with building the project. However, I am not able to <code>cd</code> into the project directory to execute the <code>makefile</code> containing the commands. </p>
  
  <pre><code>{
      "version": "2.0.0",
      "tasks": [
          {
              "label": "Build",
              "type": "shell",
              "command": "cd /path/to/folder; make build",
              "group": {
                  "kind": "build",
                  "isDefault": true
              }
          }
      ]
  }
  </code></pre>
  
  <p>Error message:</p>
  
  <pre><code>The terminal process terminated with exit code: 1
  </code></pre>
  
  <p>Even just the <code>cd</code> command gives the same error. Running <code>pwd</code> instead shows that I am in root <code>/</code>.</p>
  
  <p>Am I missing something. Couldn't find any help on web search.</p>
  
  <p>Environment:
  - Windows 10 
  - I have WSL installed</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Tried setting</p>
  
  <pre><code>    "options": {
          "cwd": "${fileDirname}/.."
      }
  </code></pre>
  
  <p><code>fileDirname</code> was pointing to the <code>.vscode</code> folder inside my project folder, so thought <code>..</code> from it would work. But <code>pwd</code> still show it is in root.</p>