Changes to ticket 8c46da2079
By anonymous on 2008-12-16 06:15:37. See also: artifact content, and ticket history
- Appended to comment:
anonymous claiming to be silov.e added on 2008-12-16 06:15:37:
When fossil start editor (or diff) application, it use 'system(...)' function and mingw(msvcrt) runtime interprets it togetenv("COMSPEC") + " /c " + "..."
.
So if environment variable 'COMSPEC' set to "...\cmd.exe", editor name depends on "cmd.exe"'s quoting rule and application search rule.
> fossil set editor "\"C:\Program Files\Vim\vim70\gvim.exe\""
> fossil set editor
editor (local) "C:\Program Files\Vim\vim70\gvim.exe"