delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/01/13:00:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3D4A384BC21
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1604253587;
bh=VRsFxnMmnClm2eMkBtzHD8zjMtLVyxJSITzB6OSzaxU=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=VgJOJuzpXXulkmk/ETF4ZG8cWASS3qwP6YOBqSy3jGAvrjwUo0VujPx5GeInuo8rp
PtIxH8D64sNpmhns/8LInrZ1J+wPEhtwUlhFtu+Aow1hyZ4k6h4qNGelvFuzTqR7tm
w8RxBDZaRqqI4G1L6VZoXQCNpQkP78AXICxpjiD0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6F1FC3858D37
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
bh=k1sph667UwBhm66YfAtFeiIzdQR76wHK73p8P2tt4cE=;
b=C12m3/SYZ15LEy1yjjhH1otCMPV6xF88m0K2opIuKNpL3ulAF8sbRxz/5hvEZqXre8
SttGvJFHu8GvN741ha0/WgphJygUeaFgoVq0gxzGbN2e7F/RA++AHe29god0k1LXlvK3
08xDjznRrSxDDt7tDNuKoGAKEPe/3kEF7tJG0k/sFe1kgZ4DVxcxakbdHTs9fQSYJuyb
44sh76ssLPrasrhfZDrBIkDKhXsV9262ITaj8rq0V4P40eSxUEok2GWeOGSMxpd2GdAp
5/ocyLasR7uDn+p8JAFEhW0/bffSgARieaAj3MubSIuyeVXLXaIPoKT+0M3c2FimiPR7
f/Yw==
X-Gm-Message-State: AOAM533xAKZFm3v7xDF0dx3z9Zc1ptlXzPqfk68vtmtKrCjygpcX7E4m
RJ0xPh5NS5Scy6LpisWmQMegGavdjzEwYLq2F5iC0Lx8LR43wg==
X-Google-Smtp-Source: ABdhPJx64++6Anc7dYH5bYB6O+stAlwiSW3zZSn9WSUaU1mei9P8eXZljHOjei0O3j4JnTPgpWI0ql2ku1LeMtwymC4=
X-Received: by 2002:a9d:64c7:: with SMTP id n7mr8742300otl.137.1604253582743;
Sun, 01 Nov 2020 09:59:42 -0800 (PST)
MIME-Version: 1.0
Date: Sun, 1 Nov 2020 19:59:32 +0200
Message-ID: <CAFNJpngLavJyvY2krD+iO+fVffhKXy5xbpEBtruMgWdhbm3A-g@mail.gmail.com>
Subject: procmon doesn't capture cygwin's process arguments
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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: Oleksandr Gavenko via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Cc: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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
* 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
--
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