Pass a set of arguments directly to the command line. Uses Java's Runtime.exec() method. This is different from the launch() method, whi
(String... args)
| 3564 | * @return a <A HREF="https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html">Process</A> object |
| 3565 | */ |
| 3566 | static public Process exec(String... args) { |
| 3567 | try { |
| 3568 | return Runtime.getRuntime().exec(args); |
| 3569 | } catch (Exception e) { |
| 3570 | throw new RuntimeException("Exception while attempting " + join(args, ' '), e); |
| 3571 | } |
| 3572 | } |
| 3573 | |
| 3574 | |
| 3575 | static class LineThread extends Thread { |
no test coverage detected