/** * Create an instance of the service, set up the process * @param name a name * @param commandList list of commands is inserted on the front * @param env environment variables above those generated by * @throws IOException IO problems */ public ForkedProcessService(String name, Map<String, String> env, List<String> commandList) throws IOException { super(name); build(env, commandList); }
/** * Create an instance of the service, set up the process * @param name a name * @param commandList list of commands is inserted on the front * @param env environment variables above those generated by * @throws IOException IO problems */ public ForkedProcessService(String name, Map<String, String> env, List<String> commandList) throws IOException { super(name); build(env, commandList); }
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; }