From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52071 invoked by alias); 23 Mar 2018 11:55:35 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 51955 invoked by uid 89); 23 Mar 2018 11:55:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:472, H*UA:github.com, H*M:1c69fb81, H*M:google X-HELO: mail-ot0-f193.google.com Received: from mail-ot0-f193.google.com (HELO mail-ot0-f193.google.com) (74.125.82.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Mar 2018 11:55:33 +0000 Received: by mail-ot0-f193.google.com with SMTP id t2-v6so12935633otj.4 for ; Fri, 23 Mar 2018 04:55:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=LDiwMmUHj++gKDGJnYw/vdxRcNhnARoKcKsVGlANYqA=; b=YLYdwzKqu1/uA/M/gTyKuBJfFQ2iGB8yl9GnPGOwI1tQzawEQHseFcfW7fgP4BcEjB DvQrI/SMIKFwnFZqev+llDDzQ2TtB5jrAxDcJQmfWimXBrhktdWiPTwxeAYmuvKiVf5G Uv3yxmgEZNlEHRhyb19w/WDlXWQ+cc7Z/+DM1QNDV7+g2YvqWwZS/yq+lmFJG3N1EgIZ yJrgoCfzWf6XJ/pnKGu1kCYHAXEdRq6Co9dFNG4cWKZeg7eJrTAKswOOs8jicRpRkA+s 33ABqwqpDlv/tyb7JtmOtq/EW1CSH4TqZZu2jF+0LBRqKSajvt+LDk90jI3y1P6yjHaL mnyA== X-Gm-Message-State: AElRT7GfHa8fEgWh1zw1Ra4i80ED2I1XoyKClgjm9nAF3OZ3Va2HtFtu SflCuRCcwK2wArU7bv3o3kTrTQ== X-Google-Smtp-Source: AG47ELvHLLdNx8619/4YzZ8Kh4IJt0FsfgIl2HrsYhLyfZnu1C70oCc+nqsU3YlFTGnIw3T3leRXZQ== X-Received: by 2002:a9d:38e5:: with SMTP id k34-v6mr12405622ote.99.1521806131558; Fri, 23 Mar 2018 04:55:31 -0700 (PDT) Received: from kUG ([2605:6000:9fc0:56:c2a:f066:2911:f71b]) by smtp.gmail.com with ESMTPSA id 3-v6sm4933041ota.43.2018.03.23.04.55.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 04:55:30 -0700 (PDT) Message-ID: <5ab4eb32.1c69fb81.74acd.f363@mx.google.com> Date: Fri, 23 Mar 2018 12:20:00 -0000 From: Steven Penny X-Google-Original-From: Steven Penny Subject: Re: Quotes around command-line argument that has unicode characters are not removed To: cygwin@cygwin.com References: <80cca6dd-f7a7-3dda-9c95-8bfb9e97956d@towo.net> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.4.0 (github.com/svnpenn/tryst) X-SW-Source: 2018-03/txt/msg00374.txt.bz2 On Fri, 23 Mar 2018 08:39:21, Thomas Wolff wrote: > Due to the weird cmd.exe behaviour, you cannot. However, cygwin could > apply a workaround by magic unquoting. This is correct. note that "run" has this "workaround" already via the "--quote" option. that code could perhaps be applied in other places: http://sourceware.org/git/gitweb.cgi?p=cygwin-apps/run.git&a=blob&f=src/run.1.in -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple