<i>auto_execok uses cmd in preference to cmd.exe despite path order (windows)</i> status still Open with 3 other changes
by
.
D 2023-11-06T11:12:53.365
J icomment <blockquote>>\sCan\sanyone\sclarify\swhy\sexec\swasn't\schanged\sinstead\sand\swhat\sexactly\sis\sgoing\son\shere?</blockquote>\r\n\r\nBasically\sno\smatter\swhat\swas\sprimary\sthe\sgoal\sfor\sthe\schange,\sit\sgot\simplemented\snot\squite\scorrect.<br/>\r\nBecause\sthe\sbehaviour\sdeviates\snow\sfrom\sstandard\swindows\ssearch\ssequence,\ssee\s[https://learn.microsoft.com/en-us/previous-versions//cc723564(v=technet.10)#command-search-sequence|Command\sSearch\sSequence]\r\n\r\n<div\sstyle="padding-left:10pt"><i>...<br/>\r\nNote\sthat\sthe\sshell\stries\sall\spossible\sfile\sextensions\sin\sa\sspecific\sdirectory\sbefore\smoving\son\sto\ssearch\sthe\snext\sdirectory\s(if\sthere\sis\sone).</i></div>\r\n\r\nSince\s[6909864f5655c69]\sTcl\sdoes\sit\svice\sversa\s(tries\sall\spossible\sdirectories\sfor\sa\sspecific\sfile\sextension\sand\sthen\sstart\sfrom\sscratch\sfor\snext\sextension).<br/>\r\nThis\scontradicts\salso\sa\scommon\ssense\sa\sbit:\sif\sno\sextension\sspecified,\sone\sexpects\sto\sfind\s<b>first\soccurrence\sin\spath</b>\s(no\smatter\swhich\sextension).
J login sebres
J mimetype text/x-fossil-wiki
K 596936dd2d55ba70dcdc980b9f58b3dccf248605
U sebres
Z 20e2bfccb17a89dbde0116c739c69ab7