https://bugs.kde.org/show_bug.cgi?id=382458
--- Comment #2 from Ralf Habacker <[email protected]> --- (In reply to Christophe Giboudeaux from comment #1) > Well, the previous commit made the path relative. This broke autostart on > linux. > > Was it working a few commits ago when org.kde.kwalletd5.service.in had : > Exec=@CMAKE_INSTALL_PREFIX@/bin/kwalletd5 ? The short answer is no, for the long see below: According to dbus spawn implementation (see https://cgit.freedesktop.org/dbus/dbus/tree/dbus/dbus-spawn-win.c#n572) and CreateProcess implementation (see https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx) the search order for executables is only specified deterministic if the file name does not contain a directory path. Having any relative path results into having the current dir be added in front of the relative either if it would be Exec=./bin/kwalletd5 or Exec=../bin/kwalletd5 which is unreliable. -- You are receiving this mail because: You are watching all bug changes.
