Variable FireOptions.terminalDetector

Delegate that will be used to get terminal command if desktop file is application and needs to ran in terminal. To set static function use std.functional.toDelegate. If it's null, fireDesktopFile will use getTerminalCommand.

struct FireOptions
{
  // ...
  const(string)[] delegate() terminalDetector = null;
  // ...
}

See Also

getTerminalCommand