protected void handleRedirects(final String stdOutFileName,
final String stdErrFileName) {
if (stdOutFileName == null) {
/*System.out*/
outputStream = new StreamRedirector(getProcess().getInputStream(),
System.out);
outputStream.start();
}
if (stdErrFileName == null) {
/*System.err*/
errorStream = new StreamRedirector(getProcess().getErrorStream(),
System.err);
errorStream.start();
}
}