Add ProcessBuilder.inheritIO() back

This commit is contained in:
Spencer Gibb
2020-01-23 11:38:08 -05:00
parent 6251019073
commit 0d5460e051

View File

@@ -319,7 +319,8 @@ class ProcessExecutor implements ReleaserPropertiesAware {
commandsToRun = commandToExecute(lastArg);
}
log.info("Will run the command [{}]", Arrays.toString(commandsToRun));
return new ProcessBuilder(commandsToRun).directory(new File(workingDir));
return new ProcessBuilder(commandsToRun).directory(new File(workingDir))
.inheritIO();
}
String[] commandToExecute(String lastArg) {