2011/11/6 Michael D. Berger <[email protected]>:
> I see no way to directly call systemctl from a C++
> program, so I'll use a pipe.  Right?  I think a
> library function would be better.

Not knowing exactly what you are trying to do, please note you can use
D-Bus to access systemd.
If you are using C++, using QtDBus is probably the most convenient way.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to