looper3339
2019-05-25 5b38785b33b06d877101ef639ca5d5e675c85b4d
src/main/java/com/cloud/count/CountApplication.java
@@ -13,17 +13,17 @@
    public static void main(String[] args){
        SpringApplication.run(CountApplication.class, args);
        final Runtime runtime = Runtime.getRuntime();
        String [] brs = new String[2];
        brs[0] ="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
        brs[1]="C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe";
        for(String str : brs){
            try {
                runtime.exec(str);
//        final Runtime runtime = Runtime.getRuntime();
//        String [] brs = new String[2];
//        String str ="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
//        brs[1]="C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe";
//        for(String str : brs){
//            try {
//                runtime.exec(str);
//                break;
            } catch (IOException e){
            }
        }
//            } catch (IOException e){
//
//            }
//        }
    }
}