Add a dedicated "Terminate" entry when using input only mode

This commit is contained in:
Yukino Song
2025-02-06 06:10:21 +08:00
parent eb3a764163
commit 75824e8de7
4 changed files with 96 additions and 34 deletions

View File

@@ -182,6 +182,9 @@ namespace proc {
terminate_process_group(boost::process::v1::child &proc, boost::process::v1::group &group, std::chrono::seconds exit_timeout);
extern proc_t proc;
extern int input_only_app_id;
extern std::string input_only_app_id_str;
extern int terminate_app_id;
extern std::string terminate_app_id_str;
} // namespace proc