Skip to content
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

[AIX] implement Process.environ() #1494

Closed
giampaolo opened this issue Apr 25, 2019 · 0 comments
Closed

[AIX] implement Process.environ() #1494

giampaolo opened this issue Apr 25, 2019 · 0 comments
Assignees

Comments

@giampaolo
Copy link
Owner

giampaolo commented Apr 25, 2019

(ended up discovering this from #1276 (comment))

Looks like we can use getevars to determine process environ():
https://sites.ualberta.ca/dept/chemeng/AIX-43/share/man/info/C/a_doc_lib/libs/basetrf1/getevars.htm#ojq2p21aendr
EBADF should be used as an alias for NoSuchProcess. Not sure what happens in case of permission error (I would expect something like EACCES but it's not mentioned in the man page).
I'm merely opening this ticket in case @wiggin15 or somebody else wants to take over as I have no AIX box to test against.

@giampaolo giampaolo self-assigned this Apr 25, 2019
wiggin15 pushed a commit to Infinidat/psutil that referenced this issue May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant