title: How can I get my git (msysgit on windows) post-commit script to invoke my python script as python rather than bash?
body: <p>I wrote a post commit script in python, "c:\myfolder\myscript.py".   I want to invoke it from the post-commit script.   This doesn't find it:  </p>
  
  <pre><code>#!/bin/sh
  c:\myfolder\myscript.py
  </code></pre>
  
  <p>bash thinks the command c:myfoldermyscript.py - the slashes get dropped.</p>
  
  <p>So, I tried forward slashes:  </p>
  
  <pre><code>#!/bin/sh
  c:/myfolder/myscript.py
  </code></pre>
  
  <p>But then it seems like bash thinks my .py file is itself a bash script, and so I get bash errors as it mistakenly tries to interpret it.</p>