error when running git command inside Popen
<p>Disclaimer: I'm extremely new at Python programming so I could be doing things very wrong here</p>

<p>All I want to do is run a git command from an open file. Here is the call that I am making</p>

<pre><code>subprocess.Popen( 'git status', cwd = os.path.dirname( path ), shell = True, stdout = subprocess.PIPE, stderr = subprocess.PIPE )
</code></pre>

<p>and the error message I am receiving is this: /bin/sh: git: command not found</p>

<p>I have verified that it is pointing to the correct directory by doing a list of the files. Also if I open a file that is under subversion control and do an svn info command everything works perfectly. I'm at a total loss as to what I'm missing here.</p>
