爱编程
java 执行linux命令
2015-2-5 Jessie


String[] cmd = { "sh", "-c", command };



process=Runtime.getRuntime().exec(cmd);