Closed ergofriend closed 3 years ago
I have the same issue.
Any solution?
I FIND THE SOLUTION
exec(
`lsof -p ${pid} | awk '$4=="cwd"' | tr -s ' ' | cut -d ' ' -f9-`,
{ env: { ...process.env, LANG: 'pt_BR.UTF-8' } },
(err, stdout) => {
cwd = stdout.trim();
setGit(cwd);
},
);
You can edit the LANG
to your language unicode. (http://itdoc.hitachi.co.jp/manuals/3021/3021335500e/PCAU0074.HTM)
Thanks, @birobirobiro, for your collaboration.
dir name
displayed