Automatically treat launcher-type apps as detached
This commit is contained in:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user