title: Php exec command not working on Windows, works on command line
body: <p>I am trying to execute the following command via PHP's <code>exec</code> function:</p>
  
  <pre><code>D:\\pstill -F a4 -2 -c -c -c -c -g -i -t -K -d 700 -a 4 -m XimgAsCMYK -m Xspot -m Xoverprint -o D:\\outputfile.pdf D:\\new.jpg  
  </code></pre>
  
  <p>It doesn't generate any output. But if I directly paste the command on the command line then it works...</p>
  
  <p>Note: it takes a bit of time to complete when run directly on command line.</p>