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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.computation.local.LocalCommandExecutor
execute, execute
-
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
-