摘要: 简单案例 package main import ( "context" "fmt" "os/exec" ) var ( ctx = context.Background() ) func main() { cmd := exec.CommandContext(ctx, "ip", "a") res 阅读全文
posted @ 2023-08-07 11:22 厚礼蝎 阅读(308) 评论(0) 推荐(0)