Changes between Initial Version and Version 1 of Ticket #300, comment 6


Ignore:
Timestamp:
Sep 26, 2014, 9:08:39 AM (10 years ago)
Author:
dmik
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #300, comment 6

    initial v1  
    554. interpreter_name + .exe in PATH
    66}}}
    7 So what it doesn't do is adding `.exe` to the full path (i.e. `/bin/sh.exe` won't be searched in such case). But it doesn't look like a real problem to me. If you do it for yourself, it's not a problem to put `.exe` to the script on your own. If you distribute things, it's bad practice to rely on the hard coded path anyway (except for "absolute" paths in the UNIXROOT environment but that ones usually provide symlinks of `.exe` to non-`.exe` or vice versa).
     7So what it doesn't do is adding `.exe` to the full path (i.e. `/bin/sh.exe` won't be tried in such case, given your example). But it doesn't look like a real problem to me. If you do it for yourself, it's not a problem to put `.exe` to the script on your own. If you distribute things, it's bad practice to rely on the hard coded path anyway (except for "absolute" paths in the UNIXROOT environment but that ones usually provide symlinks of `.exe` to non-`.exe` or vice versa).
    88
    99It may be added for the sake of completeness though. If you wish you may supply a patch.