Automatically treat launcher-type apps as detached

This commit is contained in:
Cameron Gutman 2023-10-03 23:14:41 -05:00
commit ed95b50f7a
4 changed files with 38 additions and 0 deletions

View file

@ -52,6 +52,7 @@ namespace proc {
std::string image_path;
std::string id;
bool elevated;
bool auto_detach;
};
class proc_t {
@ -93,6 +94,7 @@ namespace proc {
boost::process::environment _env;
std::vector<ctx_t> _apps;
ctx_t _app;
std::chrono::steady_clock::time_point _app_launch_time;
// If no command associated with _app_id, yet it's still running
bool placebo {};