git-annex/doc/bugs/Failing_to_execute_bash_remotes_windows
Joey Hess 5358fb992a
Windows: Improve handling of shebang in external special remote program, searching for the program in the PATH.
findShellCommand needs a full path to a file in order to check it for a
shebang on Windows. It was being run with only the base name of the external
special remote program, which would only work when it was in the current
directory.

This is why users in
https://github.com/DanielDent/git-annex-remote-rclone/pull/10 and elsewhere
were complaining that the previous improvements to git-annex didn't make
git-remote-rclone work on Windows.

Also, reworked checkearlytermination, which while it worked, seemed
to rely on a race condition. And, improved its error messages.

This commit was sponsored by Shane-o on Patreon.
2017-03-08 15:59:00 -04:00
..
comment_1_f3d4899a90757132c79659b2c85f3e48._comment
comment_2_7b8d82a32d6b82f1d50a54455aa4f643._comment comment 2017-03-08 15:30:32 -04:00
comment_3_691fe409f869c46e3716924e958f431a._comment Windows: Improve handling of shebang in external special remote program, searching for the program in the PATH. 2017-03-08 15:59:00 -04:00