Skip to content
Tcl Source Code Artifact [9bc0bbb0da]
Login

Artifact [9bc0bbb0da]

Artifact 9bc0bbb0dada3f85031847ada6f695f7301f26704806a7a10534effb427f40dc:

Ticket change [9bc0bbb0da] - Ticket [efd15d181ae9be3b|efd15d181a] <i>problem with % in [exec] on windows</i> status still Pending with 3 other changes by anonymous on 2020-07-27 08:25:14.
D 2020-07-27T08:25:14.864
J icomment What\sa\sreally\swanted\sto\sdo:\r\n\r\ncatch\s{exec\sWMIC\sPROCESS\sWHERE\s"NAME!='WMIC.EXE'\sAND\s\\\r\n\tCOMMANDLINE\sLIKE\s'%MyJarFile.jar%-p\s12345%'"\s\\\r\n\tGET\sPROCESSID\s/FORMAT:VALUE}\sresult\r\n\r\nPercentage\ssign\sin\sWindows\sWMIC\scommand\sstands\sfor\swildcard\sand\snot\sfor\sWindows\svariable.\sTherefore\susing\s"env"\sdoes\snot\shelp\shere.\r\n\r\nHow\sis\sit\spossible\sto\spass-through\splain\spercentage\ssign?\sMaybe\sby\smasking\sit\ssomehow?\sSeems\sno\sgood\sdecision\sto\sinhibit\sthat\stotally\s.
J login anonymous
J mimetype text/plain
K efd15d181ae9be3b538eb23534d37d8f1d96cd57
U anonymous
Z 48ce4a827edfe21de9e01c3ac2433600