Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env for terminalProcess getCwd Unicode path on macOS #157377

Merged
merged 2 commits into from Aug 8, 2022

Conversation

pingren
Copy link
Contributor

@pingren pingren commented Aug 6, 2022

Fixes #83496, should also close #145364, and close #150136 since the root cause is the same.

Explanation

lsof won't support Unicode output unless provided LANG in environment variables, which causing cwd issues above.

Reference:
https://opensource.apple.com/source/lsof/lsof-68/lsof/lsof.man.auto.html

Copy link

@JajarGaming JajarGaming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tyriar Tyriar added this to the August 2022 milestone Aug 8, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks a lot for investigating this!

@Tyriar Tyriar merged commit 28c025e into microsoft:main Aug 8, 2022
joyceerhl pushed a commit that referenced this pull request Aug 10, 2022
Add env for terminalProcess getCwd Unicode path on macOS
@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants