Skip to content

Commit a1ac934

Browse files
vpavicwilkinsona
authored andcommitted
Ignore special variable related JVM output in CommandLineInvoker
Closes gh-5883
1 parent 9e4eb03 commit a1ac934

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-cli/src/it/java/org/springframework/boot/cli/infrastructure/CommandLineInvoker.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ private List<String> getLines(StringBuffer buffer) {
144144
List<String> lines = new ArrayList<String>();
145145
try {
146146
while ((line = reader.readLine()) != null) {
147-
lines.add(line);
147+
if (!line.startsWith("Picked up ")) {
148+
lines.add(line);
149+
}
148150
}
149151
}
150152
catch (IOException ex) {

0 commit comments

Comments
 (0)