title: Python subprocess.call a bash alias
body: <p>At work there's a script that lists completed tasks. This was written by someone else and is hosted over the network. I have an alias in my .bashrc that calls this script, with its many flags and such, and I wanted to write a python script that would call this alias every few minutes so I can have a shell open with updated stats. However, <code>subprocess.call("myAlias")</code> fails. I'm still fairly new to python, and am struggling to figure this out. </p>
  
  <pre><code>from subprocess import call
  
  def callAlias():
      call("myAlias")
  
  callAlias()
  </code></pre>
  
  <p>I plan on adding more too it, but I hit the snag on my first step. :P</p>
  
  <p>I would post more, but there's a lot of sensitive confidential stuff I have to be careful with. Sorry for the vague code, and lack of error output.</p>