DBus binding for Tcl

Update of "Disconnect"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 43c001049a6a35f878cbbe1c0cbc23adac1332a0fe48f743e48413c4a93cb798
Page Name:Disconnect
Date: 2018-06-22 10:11:42
Original User: schelte
Content

When the D-Bus daemon terminates, the local D-Bus library sends a Disconnected signal to the application. The application can listen for this signal like any other D-Bus signal and appropriate actions can be taken.

No filter is necessary to receive this signal.

For example, to terminate the application with an exit code of 99 when the D-Bus disappears:

dbus listen [dbus info local] Disconnected {apply {args {exit 99}}}