Skip to content

Commit

Permalink
Remove unused method in LauncherUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jun 6, 2023
1 parent 0ccaff3 commit b54e11d
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.quarkus.test.common;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
Expand Down Expand Up @@ -88,16 +87,6 @@ static Process launchProcess(List<String> args, Map<String, String> env) throws
return process;
}

/**
* Launches a process using the supplied arguments and makes sure the process's output is drained to standard out
*/
static Process launchProcessAndDrainIO(List<String> args, File dir) throws IOException {
Process process = Runtime.getRuntime().exec(args.toArray(new String[0]), null, dir);
new Thread(new ProcessReader(process.getInputStream())).start();
new Thread(new ProcessReader(process.getErrorStream())).start();
return process;
}

/**
* Waits (for a maximum of {@param waitTimeSeconds} seconds) until the launched process indicates the address it is
* listening on.
Expand Down

0 comments on commit b54e11d

Please sign in to comment.