looper3339
2019-05-25 5b38785b33b06d877101ef639ca5d5e675c85b4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.cloud.count;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
 
import java.io.IOException;
 
@ComponentScan({"com.cloud.count.*"})
@SpringBootApplication
public class CountApplication {
 
    public static void main(String[] args){
 
        SpringApplication.run(CountApplication.class, args);
//        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){
//
//            }
//        }
    }
}