如果我手动将其粘贴到命令提示符中,它可以工作,但如果我从 python 运行它,我会得到The filename, directgory name, or volume label syntax is incorrect
.
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')