title: How to use the output of running a which command in vscode launch.json?
body: <p>I would like to use the output of running <code>which brownie</code> as the value for <code>&quot;program&quot;</code> in a <code>launch.json</code>. E.g. in this snippet of <code>launch.json</code></p>
  <pre><code>&quot;configurations&quot;: [
      {
        &quot;name&quot;: &quot;Brownie: run deploy.js&quot;,
        &quot;type&quot;: &quot;python&quot;,
        &quot;request&quot;: &quot;launch&quot;,
        &quot;program&quot;: &quot;/home/fanta/.local/virtualenv/python3.10/bin/brownie&quot;,
        &quot;console&quot;: &quot;integratedTerminal&quot;,
        &quot;args&quot;: [&quot;run&quot;, &quot;scripts/deploy.js&quot;]
      },
  </code></pre>
  <p>I would like to replace the full path that I have hard-wired <code>/home/fanta/.local/virtualenv/python3.10/bin/brownie</code> with the output of <code>which brownie</code>. How can I do that?</p>