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
[SUNOS] Process.cmdline()
does not handle spaces properly
#2357
Comments
Haven't had access to a SunOS box for a long time now. I'm afraid you're on your own. |
BTW, it is possible to install OpenIndiana as a virtual machine. In VirtualBox it works well. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Description
The current
Process.cmdline()
implementation for SUNOS is this (filepsutil/_pssunos.py
):Unfortunately, this does not work properly when an argument contains space. This causes the
psutil/tests/test_process.py::TestProcess::test_long_cmdline
test to fail:Please note that
pargs
works properly:The text was updated successfully, but these errors were encountered: