public static boolean ExecRun(String name){
boolean bl=true;
String s = "cmd.exe /c start /min "+name;
try {
Runtime.getRuntime().exec(s);
} catch (IOException e) {
bl=false;
e.printStackTrace();
return bl;
}
return bl;
}
//ExecRun("E:\\Pangoo\\TomcatServer\\apache-tomcat-6.0.29\\bin\\startup.bat");
boolean bl=true;
String s = "cmd.exe /c start /min "+name;
try {
Runtime.getRuntime().exec(s);
} catch (IOException e) {
bl=false;
e.printStackTrace();
return bl;
}
return bl;
}
//ExecRun("E:\\Pangoo\\TomcatServer\\apache-tomcat-6.0.29\\bin\\startup.bat");