procmon doesn't capture cygwin's process arguments

Andrey Repin
Mon Nov 2 06:36:38 GMT 2020

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:

> *

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

> *

> Please keep my email in CC...

> [1]

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

Sorry for my terrible english...

More information about the Cygwin mailing list