We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d83fcd9 commit bb9616cCopy full SHA for bb9616c
src/shellingham/posix/proc.py
@@ -44,7 +44,7 @@ def _get_cmdline(pid):
44
# necessarily decodable. For Shellingham's purpose, however, we don't
45
# care. (pypa/pipenv#2820)
46
# cmdline appends an extra NULL at the end, hence the [:-1].
47
- return tuple(f.read().split(b'\0')[:-1])
+ return tuple(f.read().split('\0')[:-1])
48
49
50
class ProcFormatError(EnvironmentError):
0 commit comments