Run a command and propagate errors to stdout
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stdout_err-1.0.0.tar.gz.
File metadata
- Download URL: stdout_err-1.0.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b555d27fc6a4e2b2811c72890ba38706027ecdbc3cd443bdf6b769c05e32c64
|
|
| MD5 |
86a51f30fdfc97bfa7736a2f5b56f46c
|
|
| BLAKE2b-256 |
678c75d9fddbe2dfeefacfe030f6946e37fb04668ee49a85bd14e9fe7d754f82
|
File details
Details for the file stdout_err-1.0.0-py3-none-any.whl.
File metadata
- Download URL: stdout_err-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48304d30498053267bca73cb36a84302345792677c639cc3bbdb0b333eeeec21
|
|
| MD5 |
47c075a65a35d6d3913bf89d785297d6
|
|
| BLAKE2b-256 |
d462ae472995c02a67f23393d22e1d191e11f2cf7bdd0d6d61dcfe27706d57f7
|