sarugaku / shellingham

Tool to Detect Surrounding Shell
ISC License
221 stars 33 forks source link

Fail-safe for unparsable /proc entries #10

Closed uranusjr closed 6 years ago

uranusjr commented 6 years ago

From pypa/pipenv#2820. Currently the detection explodes if cmdline (or any other proc entries) is faulty. While there is no way to solve the decode error (it is entirely machine-dependant), Shellingham can at least try to ignore the file and continue looking, hoping that faulty file is not the one we’re looking for.