public interface LocalCommandExecutor
Modifier and Type | Method and Description |
---|---|
int |
execute(String program,
List<String> args,
Path outFile,
Path errFile,
Path workingDir,
Map<String,String> env) |
default int |
execute(String program,
long timeoutSecondes,
List<String> args,
Path outFile,
Path errFile,
Path workingDir,
Map<String,String> env) |
void |
stop(Path workingDir) |
void |
stopForcibly(Path workingDir) |
int execute(String program, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String,String> env) throws IOException, InterruptedException
IOException
InterruptedException
default int execute(String program, long timeoutSecondes, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String,String> env) throws IOException, InterruptedException
IOException
InterruptedException
void stop(Path workingDir)
void stopForcibly(Path workingDir) throws InterruptedException
InterruptedException
Copyright © 2020. All rights reserved.