Automatically treat launcher-type apps as detached
This commit is contained in:
parent
cfd78b5ce7
commit
ed95b50f7a
4 changed files with 38 additions and 0 deletions
|
|
@ -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 {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue