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 都有超时保护,防止卡死。
- 插件停止时会取消并清理后台任务,避免残留协程影响主程序。
Metadata
Release files for automas-plugin-kill-process 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| automas_plugin_kill_process-0.1.0.tar.gz | 5.8 kB | Without provenance | Details for automas_plugin_kill_process-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| automas_plugin_kill_process-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for automas_plugin_kill_process-0.1.0-py3-none-any.whl |
Total release size: 12.6 kB
Release files / automas_plugin_kill_process-0.1.0.tar.gz
| Download URL | automas_plugin_kill_process-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68558a33d91c58706d87a4f8c1f919bc805d78bf61878aefb57586fa692be4af
|
|
BLAKE2b-256 checksum How to use checksums |
a93782a4494198fb02deb70b96000aaeac1fa881f16e19a8b84fac2a8669d128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / automas_plugin_kill_process-0.1.0-py3-none-any.whl
| Download URL | automas_plugin_kill_process-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49a0d3e47f6a5655cce3c21e71bd0d90cc98786cdb5dd51fb69f6263e1a44b1c
|
|
BLAKE2b-256 checksum How to use checksums |
fab2dd94abde8376d30d16347164829c0a2d556b479a2407490ab338141b8cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for automas-plugin-kill-process 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.