X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=HbkU+pjgdHusmtnh dnPei/8E79+b+As9f2Y7z2EVP/ejJD+McqsykuwFMFD3Vh96lAxG1NBa8Me5UCFd PAYraLXIuDRSVYXj47fSjT2FRDppenboRm9YwRJ9fbHzItxKmuo9YKmiwPa/K5zw U2iMv99KQfhDdgCvb6ZyCSh9e0Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=WPBHGntfRHuZ/jTgbECXs1 apnRA=; b=HljhBJh5K5nVtCTkhZHBe6ZDN3qQZiQ+Ra2qVvXexC6FkFbfP1i8uz giEekonE4IYPYPb1JNyF8HxSeX3H3mdDcsFHtT0+31LeHv91G6lVyz9pbphwE5yY a/gZ55LDAE21uiCNrlwoIJMmZnqXYv/vfYpQaFYRy6ShSDj0vWbP4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, Friday, H*M:yandex X-HELO: forward1m.cmail.yandex.net Authentication-Results: smtp1m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Fri, 12 May 2017 15:23:30 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1252838367.20170512152330@yandex.ru> To: Brian Inglis , cygwin AT cygwin DOT com Subject: Re: Access windows environment variable via cygwin In-Reply-To: <95bf5921-78ab-c7ac-21a2-0f859e2f6c88@SystematicSw.ab.ca> References: <29cf87ff-beb3-5c22-eb47-ddb0ad6d4ae0 AT web DOT de> <95bf5921-78ab-c7ac-21a2-0f859e2f6c88 AT SystematicSw DOT ab DOT ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Brian Inglis! >> Someone an idea how I could solve this issue? > If your scripts use environment variables, they should be careful > to enclose uses of those variables in double quotes "$VAR". Correction: You should always use proper quoting, even if you 100% know the variable content is "safe", unless the results of not using quoting are actually desired. -- With best regards, Andrey Repin Friday, May 12, 2017 15:22:17 Sorry for my terrible english... -- 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