diff --git a/core/pom.xml b/core/pom.xml
index ab4898cc3f6..ae04a8514ed 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -130,7 +130,7 @@
4.13.2
2.28.2
1.9
- 3.21.0
+ 3.26.3
2.0.0.payara-p1
1.4.payara-p1
1.10.0
diff --git a/nucleus/admin/cli/src/main/java/com/sun/enterprise/admin/cli/CLICommand.java b/nucleus/admin/cli/src/main/java/com/sun/enterprise/admin/cli/CLICommand.java
index 46908a8f17f..81ca1d832d3 100644
--- a/nucleus/admin/cli/src/main/java/com/sun/enterprise/admin/cli/CLICommand.java
+++ b/nucleus/admin/cli/src/main/java/com/sun/enterprise/admin/cli/CLICommand.java
@@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
-// Portions Copyright [2018-2021] Payara Foundation and/or affiliates
+// Portions Copyright [2018-2024] Payara Foundation and/or affiliates
package com.sun.enterprise.admin.cli;
@@ -1429,7 +1429,8 @@ private static void file2Set(String file, Set set) {
protected void buildTerminal() {
try {
if (terminal == null) {
- terminal = TerminalBuilder.builder()
+ System.setProperty(TerminalBuilder.PROP_REDIRECT_PIPE_CREATION_MODE, TerminalBuilder.PROP_REDIRECT_PIPE_CREATION_MODE_NATIVE);
+ terminal = TerminalBuilder.builder()
.system(true)
.build();
}