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
Electron/Atom processes displayed wrong in process list #1192
Labels
Milestone
Comments
Also reproduced with the atom editor processes... |
nicolargo
added a commit
that referenced
this issue
Nov 25, 2017
nicolargo
added a commit
that referenced
this issue
Nov 25, 2017
nicolargo
added a commit
that referenced
this issue
Nov 25, 2017
nicolargo
changed the title
Electron processes displayed wrong in process list
Electron/Atom processes displayed wrong in process list
Nov 26, 2017
I re-open it because the issue did not solve all the cases... In fact the problem is in the cmdline() method of the Psutil Process class ==> giampaolo/psutil#1179 (comment) I revert my commit. |
nicolargo
added a commit
that referenced
this issue
Nov 26, 2017
Solved by a dirty workarround. Available on the DEVELOP branch. Please test it ;) |
Looks good 👍 |
nicolargo
added a commit
that referenced
this issue
May 26, 2018
…is now solved on PSUtil 5.4.2 and higher
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Process list shows a shortened/partial string for electron apps like Discord, and misidentifies the process name.
Actual ps output:
What
glances
shows:(The rest of the line is there, just not easily copypastable due to terminal size limits)
Similar things happen with spotify:
vs. glances command column:
The removed tokens are of course hex strings. Additionally, the whole command is highlighted green, like a process name.
Since the cut-off seems to be
--app-path=/opt/discord/resources/
and--production-version=Spotify/
respectively, I'm guessing some sort of regular expression is being overzealous.Versions
The text was updated successfully, but these errors were encountered: