简单的关闭程序插件
Project description
automas_kill_process
简单的关闭程序插件
功能
- 监听全局 script.exit 事件。
- 当事件中的脚本名匹配配置规则里的 script_name 时,自动执行 taskkill 终止对应 process_name。
- 支持多条规则,规则表可无限新增行。
配置
插件配置提供两个字段:
- rules:表格规则。
- script_name:脚本配置里的 Info.Name,例如 崩铁-三月七。
- process_name:要终止的进程名,例如 StarRail.exe。
- kill_timeout_seconds:单次 taskkill 超时秒数。
可靠性说明
- 插件在收到事件后使用后台协程执行 taskkill,不阻塞事件总线主流程。
- 每次 taskkill 都有超时保护,防止卡死。
- 插件停止时会取消并清理后台任务,避免残留协程影响主程序。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automas_plugin_kill_process-0.1.0.tar.gz.
File metadata
- Download URL: automas_plugin_kill_process-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68558a33d91c58706d87a4f8c1f919bc805d78bf61878aefb57586fa692be4af
|
|
| MD5 |
68e25101165d7cdfca43940221b2203c
|
|
| BLAKE2b-256 |
a93782a4494198fb02deb70b96000aaeac1fa881f16e19a8b84fac2a8669d128
|
File details
Details for the file automas_plugin_kill_process-0.1.0-py3-none-any.whl.
File metadata
- Download URL: automas_plugin_kill_process-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49a0d3e47f6a5655cce3c21e71bd0d90cc98786cdb5dd51fb69f6263e1a44b1c
|
|
| MD5 |
7b44e8617385813a37507e96a1209855
|
|
| BLAKE2b-256 |
fab2dd94abde8376d30d16347164829c0a2d556b479a2407490ab338141b8cff
|