Package com.powsybl.computation.local
Class WindowsLocalCommandExecutor
- java.lang.Object
-
- com.powsybl.computation.local.AbstractLocalCommandExecutor
-
- com.powsybl.computation.local.WindowsLocalCommandExecutor
-
- All Implemented Interfaces:
LocalCommandExecutor
public class WindowsLocalCommandExecutor extends AbstractLocalCommandExecutor
- Author:
- Geoffroy Jamgotchian
, Nicolas Lhuillier
-
-
Field Summary
-
Fields inherited from class com.powsybl.computation.local.AbstractLocalCommandExecutor
lock, NON_ZERO_LOG_PATTERN, processMap
-
-
Constructor Summary
Constructors Constructor Description WindowsLocalCommandExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(String program, long timeoutSecondes, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String,String> env)
int
execute(String program, List<String> args, Path outFile, Path errFile, Path workingDir, Map<String,String> env)
-
Methods inherited from class com.powsybl.computation.local.AbstractLocalCommandExecutor
execute, stop, stopForcibly
-
-
-
-
Method Detail
-
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
-
-