Hi,

On 18.09.23 19:38, Julian Andres Klode wrote:

I'm not sure how that works because you'd need to respawn yourself
with systemd-inhibit, whereas the API essentially gives you a file
descriptor over dbus that you keep open until it is safe to reboot.

    popen("systemd-inhibit ... cat", "w");

should work.

   Simon

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to