摘要: linux下: String[] command = { "/bin/sh", "-c", command }; Process ps = Runtime.getRuntime().exec(command ); windows下: String[] command = { "cmd", "/c", 阅读全文
posted @ 2019-08-02 22:17 kiseroyta 阅读(14941) 评论(0) 推荐(0) 编辑