Package com.powsybl.computation.local
Class AbstractLocalCommandExecutor
java.lang.Object
com.powsybl.computation.local.AbstractLocalCommandExecutor
- All Implemented Interfaces:
LocalCommandExecutor
- Direct Known Subclasses:
UnixLocalCommandExecutor
,WindowsLocalCommandExecutor
-
Field Details
-
processMap
-
lock
-
NON_ZERO_LOG_PATTERN
- See Also:
-
-
Constructor Details
-
AbstractLocalCommandExecutor
public AbstractLocalCommandExecutor()
-
-
Method Details
-
stop
- Specified by:
stop
in interfaceLocalCommandExecutor
-
stopForcibly
- Specified by:
stopForcibly
in interfaceLocalCommandExecutor
- Throws:
InterruptedException
-
execute
protected int execute(List<String> cmdLs, Path workingDir, Path outFile, Path errFile, long timeout) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-