MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StartupNotify

Function StartupNotify

src/init.cpp:764–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762
763#if HAVE_SYSTEM
764static 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
774static bool AppInitServers(NodeContext& node)

Callers 1

AppInitMainFunction · 0.85

Calls 2

GetArgMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected