Question Details

No question body available.

Tags

c++ attributes

Answers (1)

May 17, 2026 Score: 8 Rep: 44,457 Quality: Medium Completeness: 40%

The compiler warning is correct, the function execl() returns if fails. Fix the code, or whatever you want to return.

else if (!pid) return execl(AppData::RARPATH, std::filesystem::path(AppData::RARPATH).filename().cstr(), std::format(AppData::RARCMDLINUX, filepath).c_str(), (char*)0); else