Skip to content

Commit

Permalink
Inherit IO
Browse files Browse the repository at this point in the history
  • Loading branch information
dukescript committed Sep 30, 2019
1 parent 65b9c2d commit 6887a1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static void show(String impl, URI page) throws IOException {
impl, page.toString()
};
LOG.log(Level.INFO, "Launching {0}", Arrays.toString(cmdArr));
final Process process = Runtime.getRuntime().exec(cmdArr);
final Process process = new ProcessBuilder().inheritIO().command(cmdArr).start();
try {
process.waitFor();
} catch (InterruptedException ex1) {
Expand Down

0 comments on commit 6887a1e

Please sign in to comment.