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:
#!/bin/sh
c:\myfolder\myscript.py
bash thinks the command c:myfoldermyscript.py - the slashes get dropped.
So, I tried forward slashes:
#!/bin/sh
c:/myfolder/myscript.py
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.