delorie.com/archives/browse.cgi | search |
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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=FF8MYh3dpAgxkvzR | |
rDnRrvjUXg9fkUcrQ39gO2tXNdNDYn96O6bwpOvvf11KSZalyoUXXT6FlUKyInNe | |
xT020BAfUBBrekHPIFUwTw9wjPgr+OY8fqxxUF2pWNClI+dYj3S6qAUAb8biYilF | |
NIsecb5OTJHjO1qXf7LCttPPodk= | |
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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type | |
:content-transfer-encoding; s=default; bh=SM2oVGpcG0M9f6NYgTGt8h | |
f1TD4=; b=d00xtMepFKnqD+r2AygbnexSHwdeR/LEI0P90ItsX5HkE/gByFWMIr | |
vbxr5Oash7TMdPeEeZK+7ok7r8VQ1KkqjsPXKJTtjS6RahrYR5F8J/clvmBbllUY | |
Z5udZAmhADEztURiS122EA9sZ1J53d9WWMxzLgW4P9DMMi9oHZzwI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=4.2 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,FREEMAIL_FROM,FREEMAIL_REPLY,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 |
X-HELO: | mail-qa0-f41.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.224.71.211 with SMTP id i19mr16130055qaj.65.1413740524120; Sun, 19 Oct 2014 10:42:04 -0700 (PDT) |
In-Reply-To: | <331276296.20140923004634@mtu-net.ru> |
References: | <CA+Ni7jMMGoeUG6f--wYfMs--rLaoLjAApNbRT=NuaEzN9zgONw AT mail DOT gmail DOT com> <331276296 DOT 20140923004634 AT mtu-net DOT ru> |
Date: | Sun, 19 Oct 2014 21:42:04 +0400 |
Message-ID: | <CA+Ni7jN-iQyXMpsPc15aKcTh+6PFb3Xg8WwA0cwe1ioU1cuGZg@mail.gmail.com> |
Subject: | Re: "CYGWIN=wincmdln" does not give me nuts |
From: | =?UTF-8?B?0J/RkdGC0YAg0JEu?= <satnatantas AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id s9JHgMh9024747 |
However, after assuming that developers are smarter than I am, i found it. In XP I would have zero problems, but I was using Seven! I created a per-user variable "CYGWIN" thinking that it will be visible to all programs. But operating system thinks otherwise - per-user variables only affect programs launched under his account. Programs with elevated priveleges happen to not count because they are launched with "SYSTEM" account. You should have asked me about whether "CYGWIN" is visible in the output of "set" command - it wasn't. Making CYGWIN a system variable worked as it should. 2014-09-23 0:46 GMT+04:00, Andrey Repin <anrdaemon AT yandex DOT ru>: > Greetings, Пётр Б.! > >> I was frustrated by not being able to view CMD of Cygwin processes in >> Windows tools. After a bit of research I found the talk about the >> wincmdln option and saw it mentioned in changelog. > >> However, setting it did not take any effect even after reboot, > >> Windows 7 SP1 Prof x64, Cygwin 1.7.32.0274 x86_64. > >> Am I doing it wrong? > > I hope you aren't using 32-bit tools to view environemnt of 64-bit > applications, do you? > > CYGWIN=nodosfilewarning wincmdln winsymlinks:nativestrict > >> From Far x86: > > Module: bash.exe > PID: 5168 > Parent PID: 7468 > Priority: 8 > Threads: 6 > Owner: daemon2\anrdaemon > (S-1-5-21-2916456319-725650362-4229827469-1000) > Session: 1 > > Started at: 00:42:16 > Uptime: 00:00:51 > > > GDI Objects: 4 > USER Objects: 1 > > Processor Time: 00:00:00.000 0% > Privileged Time: 00:00:00.000 0% > User Time: 00:00:00.000 0% > Handle Count: 131 > Page File Bytes: 6852608 > Page File Bytes Peak: 6856704 > Working Set: 5939200 > Working Set Peak: 5939200 > Pool Nonpaged Bytes: 8824 > Pool Paged Bytes: 99792 > Private Bytes: 6852608 > Page Faults: 1464 0/sec > Virtual Bytes: 599552000 > Virtual Bytes Peak: 599552000 > IO Data Bytes: 6398 0/sec > IO Read Bytes: 6313 0/sec > IO Write Bytes: 85 0/sec > IO Other Bytes: 4328 0/sec > IO Data Operations: 9 0/sec > IO Read Operations: 6 0/sec > IO Write Operations: 3 0/sec > IO Other Operations: 237 0/sec > > Modules: > Base Size Path, version, description > 75761282 2C5B30 > > >> From Far x86_64: > > Module: bash.exe > Full path: C:\Programs\Cygwin_64\bin\bash.exe > PID: 5168 > Parent PID: 7468 > Priority: 8 > Threads: 6 > Owner: daemon2\anrdaemon > (S-1-5-21-2916456319-725650362-4229827469-1000) > Session: 1 > > Started at: 00:42:16 > Uptime: 00:01:31 > > Command Line: > C:\Programs\Cygwin_64\bin\bash.exe > > Current Directory: D:\PlugRing\Utils\ > > Environment: > > PATH=C:\Programs\Cygwin_64\bin;C:\Program Files (x86)\NVIDIA > Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program > Files\WinRAR;C:\Program > Files\7-Zip;C:\DrWeb;C:\Programs\Subversion\bin;C:\Users\anrdaemon\bin;C:\usr\util;C:\usr\ARH;C:\USR\BP7\BIN;C:\usr\FPC-2.4.2\bin\i386-Win32;C:\Programs\CVSNT\ > SYSTEMDRIVE=C: > SYSTEMROOT=C:\Windows > WINDIR=C:\Windows > > GDI Objects: 4 > USER Objects: 1 > > Processor Time: 00:00:00.000 0% > Privileged Time: 00:00:00.000 0% > User Time: 00:00:00.000 0% > Handle Count: 131 > Page File Bytes: 6852608 > Page File Bytes Peak: 6856704 > Working Set: 5939200 > Working Set Peak: 5939200 > Pool Nonpaged Bytes: 8824 > Pool Paged Bytes: 99792 > Private Bytes: 6852608 > Page Faults: 1464 0/sec > Virtual Bytes: 599552000 > Virtual Bytes Peak: 599552000 > IO Data Bytes: 6398 0/sec > IO Read Bytes: 6313 0/sec > IO Write Bytes: 85 0/sec > IO Other Bytes: 4328 0/sec > IO Data Operations: 9 0/sec > IO Read Operations: 6 0/sec > IO Write Operations: 3 0/sec > IO Other Operations: 237 0/sec > > Modules: > Base Size Path, version, description > 0000000100400000 A8000 C:\Programs\Cygwin_64\bin\bash.exe > ...cut... > > Handles: > Handle Access Type Name > 4 00000009 > 8 00000003 > ...cut... > > > -- > WBR, > Andrey Repin (anrdaemon AT yandex DOT ru) 23.09.2014, <0:41> > > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |