heim icon indicating copy to clipboard operation
heim copied to clipboard

macOS Truncated Process Name

Open JosephTLyons opened this issue 3 years ago • 2 comments

Using the latest Heim version available through Crates.io (v0.0.10), I'm noticing that process names are truncated on macOS. I noticed that there was a fix for Linux here:

https://github.com/heim-rs/heim/issues/154

Would it be possible to have a similar fix on macOS?

JosephTLyons avatar Aug 07 '20 22:08 JosephTLyons

Just curious to hear if there were any progress updates on this, or any tips for getting into some code to solve this via a PR? Thanks.

JosephTLyons avatar Dec 26 '20 21:12 JosephTLyons

No, there is no progress on it, as I personally can't consider it to be high priority right now.

What I would probably do here:

  1. Check how psutil, osha and other libraries are solving this issue
  2. Consider implementing something similar to Linux implementation (do note that this 15 chars limit might not be applicable for macOs)

svartalf avatar Dec 29 '20 10:12 svartalf