array of unquoted and unescaped arguments.
array of urls or file names that inserted in the place of %f, %F, %u or %U field codes. For %f and %u only the first element of array is used.
icon name used to substitute %i field code by --icon iconName.
name of application used that inserted in the place of %c field code.
name of desktop file that inserted in the place of %k field code.
DesktopExecException if command line contains unknown field code.
assert(expandExecArgs(["program name", "%%f", "%f", "%i"], ["one", "two"], "folder") == ["program name", "%f", "one", "--icon", "folder"]); assertThrown!DesktopExecException(expandExecArgs(["program name", "%y"]));
parseExecString
Expand Exec arguments (usually returned by parseExecString) replacing field codes with given values, making the array suitable for passing to spawnProcess. Deprecated field codes are ignored. Note: Returned array may be empty and should be checked before passing to spawnProcess.