SlavaRa / fdplugin-antpanel

Ant Panel Plugin for FlashDevelop/HaxeDevelop
6 stars 4 forks source link

Fix path to ANT when spaces are present. #36

Closed Neverbirth closed 8 years ago

Neverbirth commented 8 years ago

Path to ANT was missing the quotes around it, and then you also need to put the whole command for cmd /c between quotes too.

NOTE: Spacing inconsistencies also fixed.

SlavaRa commented 8 years ago

Thanks :)

gene-pavlovsky commented 8 years ago

The file manager I use, FAR, uses cmd /s /c "command line" to execute user-entered command line. This preserves quotes in the command line itself (see cmd /? for devilish complicated logic of how it treats quotes on the command line). Maybe /s should be added? What about Linux support in the future?

Neverbirth commented 8 years ago

For the /s while googling I saw a guy that supposedly had problems with it and had to resort to double quotes, but I don't know if it's fully trustworthy.

For Linux and Mac, you can leave the path empty and it will just call ant, I don't know how double quotes work there. But I think FD should have a global setting for something like the terminal executable to be used in the application.