title: Using subprocess call return No such file or directory
body: <p>I have used this with success in the past</p>
  
  <pre><code>from subprocess import call
  </code></pre>
  
  <p>with</p>
  
  <pre><code>import os
  </code></pre>
  
  <p>To make sure I have the correct path printing I looked at the console after</p>
  
  <pre><code>print str(os.path.abspath(str(os.path.join(settings.MEDIA_ROOT, 'user_2/SampleIllustration.pdf'))))])
  </code></pre>
  
  <p>This path/directory most certainly exists; however, after trying to convert the pdf to a text file with</p>
  
  <pre><code>call(["pdftotext", "-layout", str(os.path.abspath(str(os.path.join(settings.MEDIA_ROOT, 'user_2/SampleIllustration.pdf'))))])
  </code></pre>
  
  <p>I receive an error that</p>
  
  <pre><code>No such file or directory
  </code></pre>
  
  <p>What is strange is that when I am developing on my local machine, this <code>call</code> works as expected. It's only when I'm on the server that I receive this message.</p>
  
  <p>EDIT:</p>
  
  <p>The complete error message is:</p>
  
  <pre><code>OSError: [Errno 2] No such file or directory
  </code></pre>