When attempting to use the CLI to compile/build an android project, if the path contains spaces then the command fails.
C:\my path>cordova create HelloWorld com.test.helloworld "HelloWorld"
C:\my path> cd helloworld
C:\my path\helloworld>cordova platform add android
C:\my path\helloworld>cordova prepare android
C:\my path\helloworld>cordova compile android
[Error: An error occurred while building the android project. 'C:\my' is not recognized as an internal or external command, operable program or batch file.
The same error occurs if I manually run "platforms/android/cordova/build.bat"
However if I manually run "platforms/android/ant debug" then the build appears to succeed (at least, it gives no errors and generates an .APK file)