Skip to content

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

@Kaparrs Kaparrs 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