mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
To support spaces in both the command as well as its arguments cmd needs be called like this: cmd /C ""c:\a b\c.bat" "argument 1" "argument2"" ant was running cmd /C "c:\a b\c.bat" "argument 1" "argument2" which in windows causes to be preprocessed to cmd /C c:\a b\c.bat" "argument 1" "argument2 Which would make it appear as though ant was not properly quoting (which it did sort of).