From a1ac934bee9e9474212ad1bc5689a2c59dc01ed2 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Fri, 6 May 2016 16:12:37 +0200 Subject: [PATCH] Ignore special variable related JVM output in CommandLineInvoker Closes gh-5883 --- .../boot/cli/infrastructure/CommandLineInvoker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java b/spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java index 447f3d6439b..923b0d15186 100644 --- a/spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java +++ b/spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java @@ -144,7 +144,9 @@ public final class CommandLineInvoker { List lines = new ArrayList(); try { while ((line = reader.readLine()) != null) { - lines.add(line); + if (!line.startsWith("Picked up ")) { + lines.add(line); + } } } catch (IOException ex) {