Re: how to pass /E:ON argument to cmd.exe using exec (Windows)

Liste des GroupesRevenir à cl tcl 
Sujet : Re: how to pass /E:ON argument to cmd.exe using exec (Windows)
De : et99 (at) *nospam* rocketship1.me (et99)
Groupes : comp.lang.tcl
Date : 30. Sep 2024, 19:33:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdeqta$2b6es$2@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 9/30/2024 11:15 AM, et99 wrote:
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-explorer
 This 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
 
Hmmm, it just occurred to me that if the process dies immediately, you might not have a chance with process explorer, and don't know if the get_process_commandline will be quick enough either.

Date Sujet#  Auteur
30 Sep 24 * how to pass /E:ON argument to cmd.exe using exec (Windows)6Michael Soyka
30 Sep 24 +* Re: how to pass /E:ON argument to cmd.exe using exec (Windows)2Ashok
30 Sep 24 i`- Re: how to pass /E:ON argument to cmd.exe using exec (Windows)1Michael Soyka
30 Sep 24 `* Re: how to pass /E:ON argument to cmd.exe using exec (Windows)3et99
30 Sep 24  `* Re: how to pass /E:ON argument to cmd.exe using exec (Windows)2et99
30 Sep 24   `- Re: how to pass /E:ON argument to cmd.exe using exec (Windows)1Michael Soyka

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal