I'm using VS2012 and are trying to setup an automatic build using python. I am trying something like this
cmd = 'msbuild /p:Configuration=Release INSTALL.vcxproj'
print cmd
output = subprocess.check_output(cmd, shell=True)
But it fails becuase the subprocess don't have proper environment variables.
How do I create a process with the environment variables set in vcvars32.bat ?