title: How to write an automated build script using nmake?
body: <p>I'm trying to write an automated build script in python</p>
  <pre><code>p = subprocess.Popen('%comspec% /k &quot;C:/&quot;Program Files (x86)&quot;/&quot;Microsoft Visual Studio 14.0&quot;/VC/vcvarsall.bat&quot; amd64',
                  shell=True, stdin=subprocess.PIPE, universal_newlines=True,
                   stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  p.communicate(input=&quot;nmake -f win32/Makefile.msc&quot;)
  </code></pre>
  <p>There are no problems with the Makefile, but there is no build when the script is run</p>