public interface ProcessLauncher
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExecutable(String binaryPath)
Returns true if given path is executable or not.
|
Process |
launch(String program,
List<String> args)
Launches a given program with a given list of arguments.
|
Process launch(String program, List<String> args) throws IOException
program - Program path to launch.args - Program arguments.IOException - If an I/O error occurs during process start.boolean isExecutable(String binaryPath)
binaryPath - Binary path.Copyright © 2020. All rights reserved.