From: Andrey Repin <anrdaemon@yandex.ru>
To: Oleksandr Gavenko <gavenkoa@gmail.com>, cygwin@cygwin.com
Subject: Re: procmon doesn't capture cygwin's process arguments
Date: Mon, 2 Nov 2020 09:36:38 +0300 [thread overview]
Message-ID: <1642805098.20201102093638@yandex.ru> (raw)
In-Reply-To: <CAFNJpngLavJyvY2krD+iO+fVffhKXy5xbpEBtruMgWdhbm3A-g@mail.gmail.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...
next prev parent reply other threads:[~2020-11-02 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-01 17:59 Oleksandr Gavenko
2020-11-01 21:41 ` Brian Inglis
2020-11-01 21:48 ` Brian Inglis
2020-11-02 6:36 ` Andrey Repin [this message]
2020-11-02 9:04 ` Oleksandr Gavenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1642805098.20201102093638@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=gavenkoa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).