From eb586136af4f8a7d96c13a68f05eaa331ff8021c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 7 Feb 2012 17:43:28 +0000 Subject: [PATCH 5/8] Document that dbus-launch is not dbus-run-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. https://bugs.freedesktop.org/show_bug.cgi?id=39197 --- 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 f59b64e..6c7df19 100644 --- a/doc/dbus-launch.1 +++ b/doc/dbus-launch.1 @@ -204,6 +204,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.9