title: Python pdftotext ShellError Using textract
body: <p>When I run the below Python script on a directory that contains a PDF file, I keep getting this error:</p>
  
  <blockquote>
    <p>ShellError: The command <code>pdftotext "path/to/pdf/title.pdf" -</code> failed with exit code 1
    ------------- stdout -------------
    ------------- stderr -------------
    'pdftotext' is not recognized as an internal or external command,
    operable program or batch file.</p>
  </blockquote>
  
  <p>I have verified that pdf2text and PDFMiner are installed properly.  This is my first time using textract and it works great on all other file types (Word docs, PowerPoint docs, Excel docs, etc.).  Why is the process calling <code>pdftotext</code> when <code>pdf2text</code> is the actual library?</p>
  
  <pre><code>import os
  import os.path
  import textract
  
  pdf_path = 'path/to/pdf/'
  
  for fname in os.listdir(pdf_path):
      if os.path.isfile(pdf_path+fname ):
          f = textract.process(pdf_path+fname )
          if 'string' in f:
              print fname
  </code></pre>
  
  <p>Thanks!</p>