Skip to content

Conversation

@frostming
Copy link
Member

Signed-off-by: Frost Ming [email protected]

for line in output.split("\n"):
try:
pid, ppid, args = line.strip().split(None, 2)
_pid, ppid, args = line.strip().split(None, 2)
Copy link
Member Author

Choose a reason for hiding this comment

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

This shadows the pid parameter passed in, causing the bug.

@frostming frostming linked an issue Oct 24, 2023 that may be closed by this pull request
Signed-off-by: Frost Ming <[email protected]>
Signed-off-by: Frost Ming <[email protected]>
@frostming frostming merged commit bbfe7fb into master Oct 24, 2023
@frostming frostming deleted the frostming/issue81 branch October 24, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Always detects fish

2 participants