feat(sandbox): 管理挂起的 AppContainer 进程生命周期

This commit is contained in:
2026-09-08 23:00:27 +08:00
parent dd92b15b9b
commit a95381ca44
6 changed files with 403 additions and 3 deletions
@@ -3,6 +3,10 @@ use std::net::{SocketAddr, TcpStream, UdpSocket};
use std::time::Duration;
fn main() {
let args: Vec<_> = std::env::args().collect();
if args.get(1).is_some_and(|s| s == "wait") {
std::thread::sleep(Duration::from_secs(60));
std::process::exit(84);
}
if args.get(1).is_some_and(|s| s == "launch") {
let expected = [
"launch",