I am invoking ProcessBuilder with the following command-line:
{"cmd.exe", "/c", "C:\\Program Files\\Microsoft Visual Studio 10.0\\Common7\\Tools\\..\\..\\VC\\vcvarsall.bat && msbuild"}
The process throws this exception:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
If I remove && msbuild the error goes away (so this isn't an issue of quoting). Any ideas on how to make this work?