Elevated Commands Redesign (#1123)

This commit is contained in:
Chase Payne 2023-04-29 00:22:01 -05:00 committed by GitHub
commit 430a439698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 568 additions and 425 deletions

View file

@ -62,7 +62,7 @@ namespace system_tray {
boost::process::environment _env = boost::this_process::environment();
std::error_code ec;
auto child = platf::run_unprivileged(cmd, working_dir, _env, nullptr, ec, nullptr);
auto child = platf::run_command(false, cmd, working_dir, _env, nullptr, ec, nullptr);
if (ec) {
BOOST_LOG(warning) << "Couldn't open url ["sv << url << "]: System: "sv << ec.message();
}