title: smartcrop-cli - How can i execute it with php exec?
body: <pre><code>https://github.com/jwagner/smartcrop-cli
  </code></pre>
  
  <p>After installing smartcrop, i can execute </p>
  
  <pre><code>/usr/bin/smartcrop --width 100 --height 100 photo.jpg square-thumbnail.jpg
  </code></pre>
  
  <p>in my terminal and it works good. It is a node module and i am not sure whether it can be accessed with php's exec.</p>
  
  <p>when i try</p>
  
  <pre><code>exec('/usr/bin/smartcrop --width 100 --height 100 photo.jpg square-thumbnail.jpg')
  </code></pre>
  
  <p>it is not working. How to use smartcrop cli with php.</p>