Re: Quotes around command-line argument that has unicode characters are not removed
- Date: Thu, 22 Mar 2018 22:05:45 +0100
- From: "Dmitry Katsubo via cygwin" <cygwin@xxxxxxxxxx>
- Subject: Re: Quotes around command-line argument that has unicode characters are not removed
On 2018-03-22 12:24, Andrey Repin wrote:
> This is not cygwin, this is bare Windows.
This is executable linked against cygwin1.dll. I personally call such
binaries "Cygwin programs". However it is run from Windows.
> Parameter unquoting done by the shell.
> CMD does that differently from POSIX shells.
CMD does nothing when you execute a program from it. Command-line
is passed literally. I've download procmon.exe  and filtered by
process name "cmd.exe". When I run
D:\cli> test abc "текст\" плюс.txt"
(suppose that CMD will at least remove backslashes) I see the following
in the log:
test abc "текст\" плюс.txt"
With best regards,
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple