golang执行带空格的cmd命令
摘要:
例如: cmd中执行: adb shell input keyevent 26 需要 : exec.Command("adb", "shell", "input", "keyevent", "26").Run()可以写成: //直接运行cmd命令 func A(s string) { str0 := 阅读全文
posted @ 2020-06-30 16:36 pu369com 阅读(1152) 评论(0) 推荐(0)
浙公网安备 33010602011771号