@Override
protected Object doExecute() throws Exception {
RunScriptCommand command = new RunScriptCommand(clusterControllerFactory);
ClusterSpec clusterSpec = getClusterSpec();
if (clusterSpec != null) {
command.run(System.in, System.out, System.err, clusterSpec,
instances.toArray(new String[instances.size()]), roles.toArray(new String[roles.size()]), script);
}
return null;
}
}