pystemd icon indicating copy to clipboard operation
pystemd copied to clipboard

A thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way.

Results 14 pystemd issues
Sort by recently updated
recently updated
newest added

collect stop a pystemd.run from raising exception ``` In [15]: pystemd.run( ...: ['/bin/false'], ...: stdin=sys.stdin, stdout=sys.stdout, ...: wait=True, pty=True, collect=False, ...: name='mys.service', raise_on_fail=True, ...: ) --------------------------------------------------------------------------- PystemdRunError Traceback (most recent...

Some APIs like [run](https://github.com/facebookincubator/pystemd/blob/master/pystemd/run.py#L62) use blocking IO which is unfortunate if pystemd is used in an asyncio-aware codebase. It would be great to be able to use pystemd without blocking...

It looks like when you processing interface, you ignored signal at all. https://github.com/facebookincubator/pystemd/blob/628655ae61dff66b39feed52c89e0bfda00c4f38/pystemd/base.py#L199-L219 So, is there any support for signal now? Any plan to add the support? I am looking...

I'm looking for a little guidance on type checking with mypy. I'm not sure why but I always get errors when using pystemd. Tested on: **/etc/os-release** ``` NAME="Linux Mint" VERSION="21.1...