winpty icon indicating copy to clipboard operation
winpty copied to clipboard

Environment variable is not visible to windows console program

Open JanMosigItemis opened this issue 5 years ago • 0 comments

Hi there,

I am using winpty to run gpg4win from the git bash. Works like a charm. However, I noticed that changing gpg's output language does not work.

When running LANG=DE /path/to/gpg4win/gpg --version from Windows CMD prompt the output language becomes German.

However, if I run LANG=DE winpty /path/to/gpg4win/gpg --version from the git bash, the language does not change. Also doing an export LANG=DE before running winpty does also not work.

Why is that? Is it a bug or do I miss something?

Any help is greatly appreciated.

JanMosigItemis avatar Jun 14 '19 11:06 JanMosigItemis