Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Runtime aplicacion = Runtime.getRuntime();
- try{
- aplicacion.exec("C:/Program Files (x86)/Apache Software Foundation/Apache2.2/bin/httpd.exe -k start");
- }catch(Exception e){
- System.out.println(e);
- }
- Runtime aplicacion = Runtime.getRuntime();
- try{
- aplicacion.exec("C:/Program Files (x86)/Apache Software Foundation/Apache2.2/bin/httpd.exe -k shutdown");
- }catch(Exception e){
- System.out.println(e);
- }
Add Comment
Please, Sign In to add comment