Function DesktopFile.start
Starts application or open link depending on desktop entry type.
void start() @trusted const;
Throws
ProcessException on failure to start the process.
DesktopExecException if type is DesktopEntry and the exec string is invalid.
Exception if type is DesktopEntry or DesktopEntry,
or if type is DesktopEntry, but no url provided.
See Also
Example
string contents = "[Desktop Entry]\nType=Directory";
auto df = new DesktopFile(iniLikeStringReader(contents));
assertThrown(df .start());
df = new DesktopFile();
assertThrown(df .start());