MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / ExecWithInfo

Function ExecWithInfo

Source/Tools/FEXRootFSFetcher/Main.cpp:631–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629}
630
631void ExecWithInfo(const fextl::string& Text) {
632 fextl::string TextArg = "--text=" + Text;
633 const char* Args[] = {
634 "zenity",
635 "--info",
636 TextArg.c_str(),
637 nullptr,
638 };
639
640 Exec::ExecAndWaitForResponse(Args[0], const_cast<char* const*>(Args));
641}
642
643bool AskForConfirmation(const fextl::string& Question) {
644 return ArgOptions::AssumeYes || ExecWithQuestion(Question);

Callers 5

ValidateCheckExistsFunction · 0.85
UnsquashRootFSFunction · 0.85
ExtractEroFSFunction · 0.85
mainFunction · 0.85

Calls 1

ExecAndWaitForResponseFunction · 0.85

Tested by

no test coverage detected