Re: Return code in cmd (git describe)

2012-07-31 Thread Manuela Hutter
On Tue, 31 Jul 2012 14:27:15 +0200, Konstantin Khomoutov wrote: On Tue, 31 Jul 2012 14:02:50 +0200 "Manuela Hutter" wrote: we have some python scripts that are run from Visual Studio, and one of them fails because of a wrong git return code when calling 'git describe --dir

Return code in cmd (git describe)

2012-07-31 Thread Manuela Hutter
Hi, we have some python scripts that are run from Visual Studio, and one of them fails because of a wrong git return code when calling 'git describe --dirty' Here's the issue: = import subprocess GIT_EXE = "" GIT_SRC = "" # call 'git describe --dirty': run_git = subprocess.P