public void setEnv(Environment env) {
this.env = env;
}
public void init() {
executor = new DefaultCommandExecutor(layoutManager, commandRegistry, commandLineBuilder, env) {
@Override
protected Thread createThread(final Runnable run) {
final IO proxyio = ProxyIO.getIO();
final Environment env = EnvironmentTargetSource.getEnvironment();
return new Thread() {