title: python os.system issue: "sh: 1: [command] not found"; command works interactively
body: <p>I'm trying to run a system call from Python. I have a line that reads this in my Python script:</p>
  
  <pre><code>return os.system("crux tide-index")
  </code></pre>
  
  <p><code>crux</code> is a program existing in my <code>/home/</code> directory, and if I type the command <code>crux tide-index</code> into a terminal, it seems to work properly.</p>
  
  <p>When I run my Python script, it reaches the line above and then outputs this line to stderr (i.e. it shows up in the output of my terminal):</p>
  
  <p><code>sh: 1: crux not found</code></p>
  
  <p>I don't understand why I can run the command in my terminal, but not in a Python script. Is there something I'm missing? Is the fact that <code>crux</code> is in my <code>/home/</code> folder possibly the problem? </p>