Menu

#639 Align auto_execok search order with [exec] on Windows

closed-fixed
5
2012-07-25
2012-07-20
No

Extract from [exec] man page: "When attempting to execute an application, exec first searches for the name as it was specified. Then, in order, .com, .exe, and .bat are appended to the end of the specified name and it searches for the longer name."

However, in [auto_execok], the search order is currently opposite: it first looks for all different extensions in the first directory of the search path. Then it goes on to the second directory in the search path, etc.

The attached patch aligns [auto_execok] with [exec].

Discussion

  • Koen Danckaert

    Koen Danckaert - 2012-07-20

    Patch for auto_execok

     
  • Don Porter

    Don Porter - 2012-07-25
    • status: open --> closed-fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.