IniLikeEntryException if tryExec is not abolute path nor base name.
1 auto df = new DesktopFile(); 2 assertNotThrown(df.tryExecValue = "base"); 3 version(Posix) { 4 assertNotThrown(df.tryExecValue = "/absolute/path"); 5 } 6 assertThrown(df.tryExecValue = "not/absolute"); 7 assertThrown(df.tryExecValue = "./relative");
Set TryExec value escaping it if needed.