On 5/1/24 3:50 AM, Bruno Haible wrote: > Indeed, that is likely the explanation: All 3 programs (autoconf, > autoheader, automake) start with '#!/usr/bin/perl', and while native > Windows does not interpret the shebang line, the Cygwin and MSYS2 shells > apparently do.
I created a Windows VM last night to test things. I can create testdirs on Cygwin and MSYS2. Perhaps it is best to clarify gnulib-tool.py is only supported there on Windows? I can create a seperate thread about some issues I see with running gnulib-tool.py on native Windows. I don't have much experience with it so maybe someone can chime in there. In this case shebang lines cause the issue. But there is also other considerations. Windows shells use a different way of quoting, not sure about encoding. Also gnulib-tool.py executes sed, find, patch, so I'm not too sure how that works in Windows shells. Collin