[0.27.1] Please have a look at https://savannah.nongnu.org/bugs/?38235#comment12 and comments following. As far as I can see, this bug is still present in current git version.
Fan Chun-Wei tested this recently with cmd.exe on Windows, and it seems that this has been fixed meanwhile, thus closing as resolved.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.