exec.setExecutable(findWMIC());
exec.setFailonerror(true);
exec.createArg().setValue("process");
exec.createArg().setValue("list");
exec.createArg().setValue("full");
exec.createArg().setValue("/format:rawxml.xsl");
exec.setOutputproperty("proclist");
log.info("Reading Windows Process List...");
exec.execute();
log.info("Done, searching for processes to kill...");
// WMIC drops an ugly zero-length batch file; clean that up