ProcessException on failure to start the process. Exception if type is DesktopEntry.Type.Unknown or DesktopEntry.Type.Directory.
1 string contents = "[Desktop Entry]\nType=Directory"; 2 auto df = new DesktopFile(iniLikeStringReader(contents)); 3 assertThrown(df.start()); 4 5 df = new DesktopFile(); 6 assertThrown(df.start());
Starts application or open link depending on desktop entry type.