From e977483e207400cf9d8e554e8234aa705d764c46 Mon Sep 17 00:00:00 2001 From: laim2003 Date: Fri, 29 May 2026 11:13:14 +0200 Subject: [PATCH 1/2] #1968: changed process mode to background_silent so the GUI does not block the terminal --- cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java | 2 +- cli/src/main/package/gui/pom.xml | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java b/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java index db9acd12a..9b216fc08 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java +++ b/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java @@ -77,6 +77,6 @@ protected void doRun() { "-Dexec.args=-classpath %classpath com.devonfw.ide.gui.AppLauncher" ); - mvn.runTool(processContext, ProcessMode.DEFAULT, args); + mvn.runTool(processContext, ProcessMode.BACKGROUND_SILENT, args); } } diff --git a/cli/src/main/package/gui/pom.xml b/cli/src/main/package/gui/pom.xml index 36383100f..d7d054450 100644 --- a/cli/src/main/package/gui/pom.xml +++ b/cli/src/main/package/gui/pom.xml @@ -4,11 +4,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - - com.devonfw.tools.IDEasy.dev - ide - dev-SNAPSHOT - com.devonfw.tools.IDEasy ide-gui-launcher $[project.version] From 14090ae916279aa96b48e14d04a4d05e59eabde3 Mon Sep 17 00:00:00 2001 From: laim2003 Date: Fri, 29 May 2026 17:57:37 +0200 Subject: [PATCH 2/2] #1968: undo small merge mistake --- CHANGELOG.adoc | 1 + cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index e0af77bd3..785f72969 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,6 +7,7 @@ This file documents all notable changes to https://github.com/devonfw/IDEasy[IDE Release with new features and bugfixes: * https://github.com/devonfw/IDEasy/issues/1964[#1964]: Fixed gui not launching with older project java versions +* https://github.com/devonfw/IDEasy/issues/1968[#1968]: Fixed gui blocking the terminal session while running. The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/45?closed=1[milestone 2026.06.001]. diff --git a/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java b/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java index a9516eb5c..01ab0ab3c 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java +++ b/cli/src/main/java/com/devonfw/tools/ide/tool/gui/Gui.java @@ -81,6 +81,6 @@ protected void doRun() { * We manually update the PATH entry with our java version, as by default IDEasy includes the SymLink under /projectname/software/java/bin in the PATH * In case of projects using older Java Versions, this is important as the java version of the project could potentially older. */ - mvn.runTool(processContext.withPathEntry(javaInstallation.binDir()), ProcessMode.DEFAULT, args); + mvn.runTool(processContext.withPathEntry(javaInstallation.binDir()), ProcessMode.BACKGROUND_SILENT, args); } }