Package com.powsybl.computation.local
Class UnixLocalCommandExecutor
java.lang.Object
com.powsybl.computation.local.AbstractLocalCommandExecutor
com.powsybl.computation.local.UnixLocalCommandExecutor
- All Implemented Interfaces:
LocalCommandExecutor
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.computation.local.AbstractLocalCommandExecutor
lock, NON_ZERO_LOG_PATTERN, processMap
-
Constructor Summary
-
Method Summary
Methods inherited from class com.powsybl.computation.local.AbstractLocalCommandExecutor
execute, stop, stopForcibly
-
Constructor Details
-
UnixLocalCommandExecutor
public UnixLocalCommandExecutor()
-
-
Method Details
-
execute
public int execute(String program, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String, String> env) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
execute
public int execute(String program, long timeoutSecondes, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String, String> env) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-