title: PHP exec() command: how to specify working directory?
body: <p>My script, let's call it execute.php, needs to start a shell script which is in Scripts subfolder. Script has to be executed so, that its working directory is Scripts. How to accomplish this simple task in PHP?</p>
  <p>Directory structure looks like this:</p>
  <pre><code>execute.php
  Scripts/
      script.sh
  </code></pre>