Changes between Initial Version and Version 1 of Ticket #300, comment 6
- Timestamp:
- Sep 26, 2014, 11:08:39 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #300, comment 6
initial v1 5 5 4. interpreter_name + .exe in PATH 6 6 }}} 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).7 So 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). 8 8 9 9 It may be added for the sake of completeness though. If you wish you may supply a patch.