Windows Freezes completely after I use shell extensions
Brought to you by:
dybdahl
If I right click a po file and create mo file, or if I merge template, It opens infinite processes of bash.exe
I think the problem is related to Linux Subsystem for Windows, which I Installed recently.
My guess is The bash.exe from windows and bash.exe gettext uses internaly creates a confusion and results in opening infinite number of bash.exe processes.
Please fix this or we cant use it after windows 10
Thanks
I get the same error (infinite spawning of bash.exe), without the Linux Subsystem installed. So I don't think that's the cause for this problem.
Bash.exe seems only be used in dxgettext shell operations, that is right-clicking a file in explorer and do a "compile to mo file", "merge template" or "decompile to po file". The registry has i.e. this command:
"C:\Program Files (x86)\dxgettext\ggfmt.exe" msgunfmt.exe "%1" .po
ggfmt.exe constructs a command line argument for msgunfmt.exe, then calls bash.exe to execute that commands while capturing the output of msgunfmt.exe.
The msgunfmt.exe provided by dxGetText is very old and possibly not compatible with current Windows versions. If you try to execute "msgunfmt.exe" by doubleclicking in Windows Explorer, you get the same symtoms: Infinite instances of msgunfmt.exe.
There are newer versions of the GetTextTools available at
https://github.com/vslavik/gettext-tools-windows/releases
which don't need that cygwin/bash overhead. Perhaps it is possible to use this files instead of the old ones from dxGetText installation package; in combination with a modified version ggfmt with doesn't call bash.exe but cmd.exe or the specified commandline application directly.
Possible duplicate of issue #93
I've verified the same issue.
I've tried the steps in
https://stackoverflow.com/questions/40162954/dxgettext-and-windows-10
But to no avail. bash.exe keeps calling itself recursively when trying to do a simple merge.
I finally found a workaround by using Cygwin DLLs (and bash.exe!). Documented in here:
http://charlysaenz.blogspot.com.ar/2017/07/delphi-xe5-dxgettext-windows-10-how-to.html