// TODO propagate the Environment itself and support signal sending.
shell.start(env.getEnv());
shellIn = shell.getInputStream();
shellOut = shell.getOutputStream();
shellErr = shell.getErrorStream();
executor.execute(new NamePreservingRunnable(new Runnable() {
public void run() {
pumpStreams();
}
}, "inverted-shell-pump"));
}