Kevin Anthony wrote:
Hello
What would be the best way, in C, to check if a dbus program was
running, before i ran a dbus command against it?
Lost me ... at the system level, ps -ef (or some similar call) piped to
grep dbus
ps -ef | grep dbus | grep -v grep
will probably show several hits ... anywhere near what you are talking
about?
Regards
Fred James
[fredjame@localhost ~]$ ps -ef | grep dbus | grep -v grep
14 5631 1 0 01:10 ? 00:00:00 dbus-daemon --system
fredjame 7403 1 0 07:52 ? 00:00:00 /usr/bin/dbus-launch
--exit-with-session --sh-syntax
fredjame 7404 1 0 07:52 ? 00:00:00 /usr/bin/dbus-daemon
--fork --print-pid 4 --print-address 8 --session
[fredjame@localhost ~]$
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list