private int runShellCmd(String shellFunc) throws Exception { String script = jointShellCmd( task.getDomain(), task.getKernelVersion(), config.getContainerType().toString(), shellFunc); int exitCode = scriptExecutor.exec(script, logOut, logOut); return exitCode; }
@Override public void kill() { scriptExecutor.kill(); }