public ForkedProcessService buildProcess(String name, Map<String, String> env, List<String> commands) throws IOException, SliderException { ForkedProcessService process; process = new ForkedProcessService(name); process.init(getConfig()); process.build(env, commands); return process; }
public ForkedProcessService buildProcess(String name, Map<String, String> env, List<String> commands) throws IOException, SliderException { ForkedProcessService process; process = new ForkedProcessService(name); process.init(getConfig()); process.build(env, commands); return process; }
private ForkedProcessService initProcess(List<String> commands) throws IOException { process = new ForkedProcessService(name.getMethodName(), env, commands); process.init(new Configuration()); // increase the line limit to accommodate containers with long list of envs process.setRecentLineLimit(640); return process; }
Arrays.asList(commands)); process.setProcessLog(logger); process.init(new Configuration()); String errorText = null; process.start();
private ForkedProcessService initProcess(List<String> commands) throws IOException { process = new ForkedProcessService(name.getMethodName(), env, commands); process.init(new Configuration()); // increase the line limit to accommodate containers with long list of envs process.setRecentLineLimit(640); return process; }
Arrays.asList(commands)); process.setProcessLog(logger); process.init(new Configuration()); String errorText = null; process.start();