Commit graph

6 commits

Author SHA1 Message Date
d8d514a4d1 Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-02 09:42:21 +01:00
56357ae0a3 Add asyncio.ShellCmd
Add class ShellCmd, an easy API to run shell commands as
async subprocesses, capture their exit status, and have them log to slog().

Signed-off-by: Jan Lindemann <jan@janware.com>
2022-11-03 12:25:45 +01:00
f8a31e01f8 Remove asyncio/__init__.py
__init__.py is an automatically generated file, so don't include it
in git.

Signed-off-by: Jan Lindemann <jan@janware.com>
2022-11-03 12:39:16 +01:00
bfd0544ff8 Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
2025-10-13 12:45:51 +02:00
428692ea3a Streamline Python file headers somewhat
- Add coding statement
  - Import all modules in one line where possible
  - Order: __future__, typing, plain imports, from imports,
    janware modules

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-07-10 05:14:06 +02:00
c96ffe52c0 Add Process and Signals support
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-29 11:25:03 +01:00