Sujet : Re: how to pass /E:ON argument to cmd.exe using exec (Windows)
De : et99 (at) *nospam* rocketship1.me (et99)
Groupes : comp.lang.tclDate : 30. Sep 2024, 19:15:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdepsp$2b6es$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 9/30/2024 8:35 AM, Michael Soyka wrote:
A followup question is how can I see what string is being presented to to Windows?
My goto tool is process explorer, much more detailed that windows task manager, just hover mouse over any process and it will tell you the command line that was ultimately received (or click and choose properties)
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorerThis is a no-install program, you can just run it.
Using twapi, and if you exec with & you will get the pid, you can then use:
twapi::get_process_commandline PID ?options?
-e