From dc6ca6aa4b1babf01272e66e4082649e31d20b58 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 13 Jul 2011 17:35:38 +0100 Subject: [PATCH 5/5] Document that dbus-launch is not dbus-run-as-session Architectural assumptions inside dbus-launch mean that it is unsuitable for use in contexts where a particular process's lifetime defines the session, unless there is an out-of-band mechanism (like the X server) which can signal the end of the session. --- doc/dbus-launch.1 | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/doc/dbus-launch.1 b/doc/dbus-launch.1 index 6e1a08f..ee0c804 100644 --- a/doc/dbus-launch.1 +++ b/doc/dbus-launch.1 @@ -205,6 +205,19 @@ Emit Bourne-shell compatible code to set up environment variables. .I "--version" Print the version of dbus-launch +.SH NOTES + +If you run +.B "dbus-launch myapp" +(with any other options), dbus-daemon will +.I not +exit when +.B myapp +terminates: this is because +.B myapp +is assumed to be part of a larger session, rather than a session in its +own right. + .SH AUTHOR See http://www.freedesktop.org/software/dbus/doc/AUTHORS -- 1.7.5.4