MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / adminLaunch

Function adminLaunch

src/spawn.cpp:987–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985}
986
987bool adminLaunch(QWidget* parent, const std::wstring& moPath,
988 const std::wstring& moFile, const std::wstring& workingDir)
989{
990 const std::wstring commandLine = std::format(
991 L"adminLaunch {} \"{}\" \"{}\"", ::GetCurrentProcessId(), moFile, workingDir);
992
993 return helperExec(parent, moPath, commandLine, true);
994}
995
996} // namespace helper

Callers 1

restartAsAdminFunction · 0.85

Calls 1

helperExecFunction · 0.85

Tested by

no test coverage detected