-
Notifications
You must be signed in to change notification settings - Fork 33
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
detect_shell fails on IBM i / AIX #21
Comments
AIX ps does not support -w option in POSIX mode, only in Berkeley mode ('w'), but Berkeley mode doesn't support -o, so just remove -ww and hope for the best. Fixes sarugaku#21
AIX ps does not support -w option in POSIX mode, only in Berkeley mode ('w'), but Berkeley mode doesn't support -o, so just remove the -ww option and hope for the best. Fixes sarugaku#21
I have absolutely zero experience on IBM systems, but one quick solution would be to look for >>> from shellingham.posix import proc
>>> proc.detect_proc() # This tries to check whether /proc is available. If the above passes without exception, we’ll need to check why the proc format cannot be parsed. Otherwise we’ll need to play with If only I can get my hands on an actual IBM machine to play with. That’d be a cool exxperience. |
I believe AIX has We run a subset of the AIX runtime on top of the IBM i OS and it has no |
Why do these UNIX system vendors make things so difficult 😞 |
Fixes sarugaku#55 Tries to also address sarugaku#21, sarugaku#35
The problem is that the AIX version of
ps
does not support the-w
option. It does support thew
option (without the-
prefix) in Berkeley mode, but then it doesn't support the-o
option. 😞The text was updated successfully, but these errors were encountered: