delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/02/01:50:58

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B729385800F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1604299809;
bh=8N5wHS/OGvjg7awHZfiCaYsiZn5E8Lf1z/lXcGSXTKI=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=MeHhLJtlSZB13okiwvL8OrNHk3CuQl41gEameTYdOx/6MOUDUcCiPnTN+ZJkbjMv1
ufNZ0bL4mYKHhnIg0xov+e/rg9YnltJV9toqFzDHM5qSCJpi0/L7Qy/iMDm2Gjp/Fs
z0Vqt0KuazEgxhPtX51odEuMRuP+loGCuuDOQUtY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D05313858009
Date: Mon, 2 Nov 2020 09:36:38 +0300
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1642805098.20201102093638@yandex.ru>
To: Oleksandr Gavenko <gavenkoa AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: procmon doesn't capture cygwin's process arguments
In-Reply-To: <CAFNJpngLavJyvY2krD+iO+fVffhKXy5xbpEBtruMgWdhbm3A-g@mail.gmail.com>
References: <CAFNJpngLavJyvY2krD+iO+fVffhKXy5xbpEBtruMgWdhbm3A-g AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, Oleksandr Gavenko!

> I tried to find out what processes emacs-w32 is starting for my custom
> TRAMP method.

> "strace -f emacs-w32" fails.

> I expected to succeed with procmon & its filter " Command/ Process Start".

> Unfortunately procmon [1] doesn't report "argv" if a Cygwin executable is
> started from a Cygwin executable. If I run a Cygwin app from the Windows
> environment it captures positional arguments.

> Is there some option to make positional arguments visible to procmon?

> I could find it in:

> * https://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Yes, it's in CYGWIN=wincmdln
But it's not necessarily accurate.
See the documentation for details.

> * https://cygwin.com/cygwin-ug-net/setup-env.html

> Please keep my email in CC...

> [1] https://docs.microsoft.com/en-us/sysinternals/downloads/procmon


-- 
With best regards,
Andrey Repin
Monday, November 2, 2020 9:35:15

Sorry for my terrible english...

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019