stdout-err
Run a command. Make sure that errors are propagated to stdout.
This is unreviewed AI-generated code. But I am running it on my machine.
Motivation
I am using a kde panel to run a command. Irritatingy, if the command fails there is no indication. I do not want to understanding how kde panel widgets work, nor debug them. So instead, I shall make a wrapper.
Alternatives and prior work
Create a between widget that detects errots. You could do this with a bash one-line: `bash -c "command || echo failure". I like to standardize my scripts and share them wit hthe internet where they can't get removed.
Installation
pipx install stdout-err
Usage
stdout-err false
Metadata
Release files for stdout-err 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stdout_err-1.0.0.tar.gz | 1.9 kB | Without provenance | Details for stdout_err-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stdout_err-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for stdout_err-1.0.0-py3-none-any.whl |
Total release size: 4.4 kB
Release files / stdout_err-1.0.0.tar.gz
| Download URL | stdout_err-1.0.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b555d27fc6a4e2b2811c72890ba38706027ecdbc3cd443bdf6b769c05e32c64
|
|
BLAKE2b-256 checksum How to use checksums |
678c75d9fddbe2dfeefacfe030f6946e37fb04668ee49a85bd14e9fe7d754f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / stdout_err-1.0.0-py3-none-any.whl
| Download URL | stdout_err-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48304d30498053267bca73cb36a84302345792677c639cc3bbdb0b333eeeec21
|
|
BLAKE2b-256 checksum How to use checksums |
d462ae472995c02a67f23393d22e1d191e11f2cf7bdd0d6d61dcfe27706d57f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for stdout-err 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.