I think the problem comes about because Fossil tries to run a copy of
itself by calling system() with argv[0] being used as the command name.
Apparently on windows, argv[0] is not a reliable name for the program
that is being run.

Does anybody have any suggestions for an alternative way to get a
windows program to run a copy of itself?