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:to:subject:in-reply-to:references :content-transfer-encoding:content-type:mime-version:message-id; q=dns; s=default; b=i6hJJ7RhpNAN6nio8fJEdyU6UMVFJb+hr5lsVQ+Bm86 TlXF/Zzg9dFCWlt4cKKsvfxCY7pP0UfqsiEpS9Ye0IMjJNlxS0+EtboWWQYhKCx+ D2Dr86FMCTWzV6QhB/mDrWadDEbTSpuf/p6KEN+8gcSxQm01/b+LaXaLDnUcqR2s = 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:to:subject:in-reply-to:references :content-transfer-encoding:content-type:mime-version:message-id; s=default; bh=QNW8yhOY90MNyWHyxO7t01MvnbY=; b=MH0/BUU39KLVvFbzp PqvaL1tX6E7Eb6DH4HpNNCywcpgm7QtDvvAmbVkAqyc/f04qYO+RSwPLGNLf5jqu KdpgDxuQ3U0D9iqHyodoOWZQV8aH+GUzUkTLZRJvo0UvK/hwpqBq1kJsc1ovEYaD EPNrcgUPh9KPksAce9I0eIBDzY= 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.8 required=5.0 tests=BAYES_60,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,MIME_BASE64_BLANKS,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*163.com, H*M:163, H*UA:V3.5, H*UA:SP_ntes X-HELO: m13-92.163.com Date: Thu, 27 Oct 2016 22:46:18 +0800 (CST) From: Simon To: cygwin AT cygwin DOT com, anrdaemon AT yandex DOT ru Subject: Re:Re: timezone problem running exe from console In-Reply-To: <65813448.20161027162346@yandex.ru> References: <85babbb DOT 2532 DOT 15803aadbc4 DOT Coremail DOT xubaoyun622 AT 163 DOT com> <65813448 DOT 20161027162346 AT yandex DOT ru> Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <19b2c014.1826a.158069b1dc7.Coremail.xubaoyun622@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID:XMGowACHE7k7ExJYA_WPAA--.30524W X-CM-SenderInfo: 50xet0h1xqljqs6rljoofrz/1tbisRMQAFXlVnfC4wABsD X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u9REkmPR005796 Hi Andrey, Seems like you want to run a program called "exe" in cygwin? If so, you need to type full path in the console like "/cygdrive/c/path/to/file" to run it The current result says there has no command called exe in cygwin environment. At 2016-10-27 21:23:46, "Andrey Repin" wrote: >Greetings, Ðí±«ÔÏ! > >> Hi, I'm have problem with timezone when running exe from cygwin console. > >$ exe >-bash: exe: command not found > >> The program I ran doesn't use the system timezone(UTC +8) but UTC instead. > >> The output from console shows the timezone is right in UTC+8. >> $ date -R >> Thu, 27 Oct 2016 08:51:13 +0800 > >> $ tzset >> Asia/Shanghai > >> Wondering what may cause the problem. > >Wondering, if you can provide more details. > > >-- >With best regards, >Andrey Repin >Thursday, October 27, 2016 16:22:59 > >Sorry for my terrible english...