Relative paths in .desktop, .service files' Exec= lines

Thiago Macieira thiago at
Mon Jun 20 21:58:12 UTC 2016

On segunda-feira, 20 de junho de 2016 19:56:42 PDT Ralf Habacker wrote:
> > * The meaning of Exec=foo in .desktop files is well-defined in the
> > spec: it searches $PATH for foo, in the same way execlp() would.
> In environments using DBUS on windows this option will also search in
> the same location as the executable, which initiated running the exec
> line from the service file.

We might have to code that manually: the way execlp works on Windows is 
different than on Unix, as Windows has an implicit "." at the end of $PATH.

Thiago Macieira - thiago (AT) - thiago (AT)
   Software Architect - Intel Open Source Technology Center

More information about the dbus mailing list