From 83acd3a35eed6d0bf8fc347c62b4cce3fb2b78e1 Mon Sep 17 00:00:00 2001 From: JanAmeis <162981643+WorkingAmeise@users.noreply.github.com> Date: Fri, 13 Dec 2024 15:24:03 +0100 Subject: [PATCH] #856: Made gcviewer start in background (#896) --- CHANGELOG.adoc | 8 ++++++++ .../com/devonfw/tools/ide/tool/gcviewer/GcViewer.java | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 39f326de2..452eb9dcc 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -2,6 +2,14 @@ This file documents all notable changes to https://github.com/devonfw/IDEasy[IDEasy]. +== 2024.12.002 + +Release with new features and bugfixes: + +* https://github.com/devonfw/IDEasy/issues/885[#885]: Gcviewer starts in foreground fixed + +The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/17?closed=1[milestone 2024.12.002]. + == 2024.12.001 NOTE: ATTENTION: When installing this release as an update, you need to manually remove IDEasy entries from `.bashrc` and if present also `.zshrc`. diff --git a/cli/src/main/java/com/devonfw/tools/ide/tool/gcviewer/GcViewer.java b/cli/src/main/java/com/devonfw/tools/ide/tool/gcviewer/GcViewer.java index 745166682..6c5583315 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/tool/gcviewer/GcViewer.java +++ b/cli/src/main/java/com/devonfw/tools/ide/tool/gcviewer/GcViewer.java @@ -5,6 +5,7 @@ import com.devonfw.tools.ide.common.Tag; import com.devonfw.tools.ide.context.IdeContext; import com.devonfw.tools.ide.process.ProcessContext; +import com.devonfw.tools.ide.process.ProcessMode; import com.devonfw.tools.ide.tool.LocalToolCommandlet; import com.devonfw.tools.ide.tool.ToolCommandlet; import com.devonfw.tools.ide.tool.java.Java; @@ -40,6 +41,6 @@ public void run() { pc.executable("java"); pc.addArg("-jar"); pc.addArg("gcviewer-" + getInstalledVersion() + ".jar"); - pc.run(); + pc.run(ProcessMode.BACKGROUND_SILENT); } }