Am I correct that this problem is related the w32.c comment? It's not clear to me what changes are needed in cmdproxy (and other places?) to address it. [1]: https://github.com/magit/magit/issues/3111