Sh

Latest version: v2.0.6

Safety actively analyzes 621114 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.0.6

- Add back appropriate sdist files [comment](https://github.com/amoffat/sh/commit/89333ae48069a5b445b3535232195b2de6f4648f)

2.0.5

- Allow nested `with` contexts [690](https://github.com/amoffat/sh/issues/690)
- Call correct asyncio function for getting event loop [683](https://github.com/amoffat/sh/issues/683)

2.0.4

- Allow `ok_code` to be used with `fg` [665](https://github.com/amoffat/sh/pull/665)
- Make sure `new_group` never creates a new session [675](https://github.com/amoffat/sh/pull/675)

2.0.2

- Performance regression when using a generator with `_in` [650](https://github.com/amoffat/sh/pull/650)
- Adding test support for python 3.11

2.0.0

- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts [636](https://github.com/amoffat/sh/issues/636)
- Added basic asyncio support via `_async`
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as stdin
- `RunningCommand.__eq__` no longer has the side effect of executing the command [518](https://github.com/amoffat/sh/pull/531)
- `_tee` now supports both "err" and "out" [215](https://github.com/amoffat/sh/issues/215)
- Removed the builtin override `cd` [link](https://github.com/amoffat/sh/pull/584#discussion_r698055681)
- Altered process launching model to behave more expectedly [495](https://github.com/amoffat/sh/issues/495)
- Bugfix where `_no_out` isn't allowed with `_iter="err"` [638](https://github.com/amoffat/sh/issues/638)
- Allow keyword arguments to have a list of values [529](https://github.com/amoffat/sh/issues/529)

1.14.3

- Bugfix where `Command` was not aware of default call args when wrapping the module [559](https://github.com/amoffat/sh/pull/573)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.