修复agent执行命令可能会残留子进程

This commit is contained in:
xintaofei
2026-03-12 09:50:27 +08:00
parent d75e0cef48
commit 4e49e2f16a
8 changed files with 51 additions and 18 deletions

View File

@@ -47,6 +47,7 @@ toml = "0.8"
notify = "6"
base64 = "0.22"
agent-client-protocol-schema = { version = "0.10", features = ["unstable_session_usage"] }
kill_tree = { version = "0.2", features = ["tokio"] }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-window-state = "2"
@@ -56,7 +57,6 @@ tauri-plugin-process = "2"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Storage_FileSystem"] }
kill_tree = { version = "0.2", features = ["tokio"] }
[patch.crates-io]
sacp-tokio = { path = "vendor/sacp-tokio" }