title: How can I set environment variable for runComment() in Rhino?
body: <p>Rhino is running in following directory</p>
  
  <pre><code>      /aaa/bbb/
  </code></pre>
  
  <p>and I need to launch another bash script in context of another directory:</p>
  
  <pre><code>      /xxx/zzz/script.sh
  </code></pre>
  
  <p>with all environment variable of its directory, especially PWD.</p>
  
  <p>e.g. output of:</p>
  
  <pre><code>      runCommand("pwd", {env{pwd:"/xxx/zzz/"}});
  </code></pre>
  
  <p>should be:</p>
  
  <pre><code>      /xxx/zzz/
  </code></pre>
  
  <p>How can I properly define the environment variable? 
  Thanks in advance!</p>