Execute do/undo commands non-elevated (#1022)

This commit is contained in:
pgrunzjr
2023-03-27 09:15:35 -05:00
committed by GitHub
parent 6f02274dc4
commit 6a914f7016
2 changed files with 40 additions and 36 deletions

View File

@@ -87,6 +87,7 @@ private:
boost::process::environment _env;
std::vector<ctx_t> _apps;
ctx_t _app;
// If no command associated with _app_id, yet it's still running
bool placebo {};
@@ -95,8 +96,8 @@ private:
boost::process::group _process_handle;
file_t _pipe;
std::vector<cmd_t>::const_iterator _undo_it;
std::vector<cmd_t>::const_iterator _undo_begin;
std::vector<cmd_t>::const_iterator _app_prep_it;
std::vector<cmd_t>::const_iterator _app_prep_begin;
};
/**