NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #110 most downloaded on PyPI
Tool to Detect Surrounding Shell
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 1.5 years
Nearly every release is documented
notes for 19 of 19 stable releases
2 versions withdrawn
withdrawn after publishing
8 years old
23 releases · first in 2018
Fix test_get_shell test according to new code by @eamanu in #82
Full Changelog: 1.5.3...1.5.4
Fix a bug that detect_shell() always returns the host shell on MacOS. #81
One column per quarter.
Detect proc format eagerly so it throws the error at the correct location.
Detect proc format eagerly so it throws the error
at the correct location.
Detect proc format eagerly so it throws the error at the correct location. #78
Fixed a regression causing ShellDetectionFailure if /proc is used for process lookup.
Fixed a regression causing ShellDetectionFailure if /proc is used for process lookup.
Fixed a regression causing ShellDetectionFailure if /proc is used for process lookup. #72
Select the correct status file fields on BSD systems. #68 _
Select the correct status file fields on BSD systems. #68
Add syntax highlighting to readme by @swaldhoer in https://github.com/sarugaku/shellingham/pull/63
Full Changelog: https://github.com/sarugaku/shellingham/compare/1.5.0...1.5.0.post1
Full Changelog: 1.5.0...1.5.0.post1
Fix package metadata to disallow installation on Python prior to 3.7. This was already done in 1.5.0, but the metadata of the release was incorrectly set to >=3.4.
Bump bleach from 3.2.1 to 3.3.0 by @dependabot in #44
Full Changelog: 1.4.0...1.5.0
On Windows, the full path to the shell executable is now returned instead of just the base name.
Parse argument list to detect shells run via an interpreter, e.g. xonsh via Python.
Parse argument list to detect shells run via an interpreter, e.g. xonsh via Python. #27
Fix a typo that prevents ash and csh from being detected.
Fix a typo that prevents ash and csh from being detected.
Fix a typo that prevents ash and csh from being detected. #24
Add Almquist shell ( ash ) detection support.
Add Almquist shell (ash) detection support.
Parse ps output according to how it is actually formatted, instead of incorrectly using shlex.split().
ps output according to how it is actually formatted, instead of incorrectly using shlex.split().Suppress subprocess errors from ps if the output is empty.
ps if the output is empty.Suppress subprocess errors from ps if the output is empty. #15
Minor Python 3 compatibility fix.
Minor Python 3 compatibility fix.
Improve /proc content parsing robustness to not fail with non-decodable command line arguments.
/proc content parsing robustness to not fail with non-decodable command line arguments.Improve /proc content parsing robustness to not fail with non-decodable command line arguments. #10
Fix exception on Windows when the executable path is too long to fit into the PROCESSENTRY32 struct. Generally the shell shouldn't be buried this deep
Check a process’s argument list is valid before peeking into it. This works around a Heisenbug in VS Code, where a process read from /proc may contain
/proc may contain an empty argument list.Support BSD-style /proc format.
/proc format.Support BSD-style /proc format. #4
Better ps output decoding to fix compatibility. #7
Fix login shell detection if it is chsh-ed to point to an absolute path.
chsh-ed to point to an absolute path.Fix login shell detection if it is chsh-ed to point to an absolute path. #6
Prefer the /proc-based approach on POSIX whenever it is likely to work.
/proc-based approach on POSIX whenever it is likely to work.Prefer the /proc-based approach on POSIX whenever it is likely to work. #5
Use /proc on Linux to build process tree. This is more reliable than ps, which may not be available on a bare installation.
/proc on Linux to build process tree. This is more reliable than ps, which may not be available on a bare installation.Fix POSIX usage on Python 2 by providing more compatible arguments to parse ps results. Thanks to @glehmann for the patch.
ps results. Thanks to @glehmann for the patch.Prevent the lookup from exploding when running in non-hierarchical process structure. (1-b2e9bef5)
Prevent the lookup from exploding when running in non-hierarchical process structure. (1-b2e9bef5)
Initial release.
Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →