procmon doesn't capture cygwin's process arguments

Oleksandr Gavenko gavenkoa@gmail.com
Sun Nov 1 17:59:32 GMT 2020


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


More information about the Cygwin mailing list