public interface CommandLauncher
| Modifier and Type | Method and Description |
|---|---|
int |
launch(Path command,
List<String> arguments)
Launches the command.
|
default int |
launch(Path command,
String... arguments)
Launches the command.
|
int launch(Path command, List<String> arguments) throws IOException, InterruptedException
command - the command locationarguments - the command argumentsIOException - if command execution was failedInterruptedException - if interrupted while executing the commanddefault int launch(Path command, String... arguments) throws IOException, InterruptedException
command - the command locationarguments - the command argumentsIOException - if command execution was failedInterruptedException - if interrupted while executing the commandCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.