[SoapUI] 在SoapUI中通过Groovy脚本执行window命令杀掉进程

//杀Excel进程
String line
def p = "taskkill /F /IM EXCEL.exe".execute()
def bri = new BufferedReader (new InputStreamReader(p.getInputStream()))
while ((line = bri.readLine()) != null) {log.info line}

  

posted on 2018-10-17 10:32  张缤分  阅读(173)  评论(0编辑  收藏  举报

导航