2008-11-04 61 views
1

如果我手動將它粘貼到命令提示符中,它可以工作,但如果我從python運行它,我會得到The filename, directgory name, or volume label syntax is incorrect從Python啓動VS2008構建

os.system('%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86') 
os.system('devenv Immersica.sln /rebuild Debug /Out last-build.txt') 

回答