| 762 | |
| 763 | #if HAVE_SYSTEM |
| 764 | static void StartupNotify(const ArgsManager& args) |
| 765 | { |
| 766 | std::string cmd = args.GetArg("-startupnotify", ""); |
| 767 | if (!cmd.empty()) { |
| 768 | std::thread t(runCommand, cmd); |
| 769 | t.detach(); // thread runs free |
| 770 | } |
| 771 | } |
| 772 | #endif |
| 773 | |
| 774 | static bool AppInitServers(NodeContext& node) |
no test coverage detected