解析S4中node的启动原理(一)
List<String> taskArgs = new ArrayList<String>(); if (!task.name().equals("node")) { taskArgs.add(args[0]); // s4 script (only for s4-tools project classes) } if (args.length > 1) { taskArgs.addAll(Arrays.asList(Arrays.copyOfRange(args, 2, args.length))); } task.dispatch(taskArgs.toArray(new String[] {}));
?