I am using gmic command line to do some batch processing. Input and output folders have spaces in the name, so I have to use double quotes inline with gmic. Now the problem arise when I try to set output quality parameter along with double quotes.
Working (85% output quality):
gmic <some command> output c:\test.jpg,85
Working (100% output quality):
gmic <some command> output "c:\te st.jpg"
gmic <some command> output "c:\te st.jpg",85