| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private File | |
| private FS | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | CommandExecutor(FS
the file system fs, boolean should the exit code be checked for errors ? checkExitCode)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private void | |
| private String[] | |
| private void | |
| private void | |
| private void | |
| private boolean | |
| public FS. |
| checkExitCode | back to summary |
|---|---|
| private boolean checkExitCode | |
| commandFile | back to summary |
|---|---|
| private File commandFile | |
| fs | back to summary |
|---|---|
| private FS fs | |
| useMsys2 | back to summary |
|---|---|
| private boolean useMsys2 | |
| CommandExecutor | back to summary |
|---|---|
public CommandExecutor(FS fs, boolean checkExitCode)
| |
| checkExecutable | back to summary |
|---|---|
| public boolean checkExecutable(String path, File workingDir, Map<String, String> env) throws ToolException, IOException, InterruptedException Check whether executable file is available
| |
| checkUseMsys2 | back to summary |
|---|---|
| private void checkUseMsys2(String command) | |
| createCommandArray | back to summary |
|---|---|
| private String[] createCommandArray(String command) throws ToolException, IOException | |
| createCommandFile | back to summary |
|---|---|
| private void createCommandFile(String command) throws ToolException, IOException | |
| deleteCommandArray | back to summary |
|---|---|
| private void deleteCommandArray() | |
| deleteCommandFile | back to summary |
|---|---|
| private void deleteCommandFile() | |
| isCommandExecutionError | back to summary |
|---|---|
| private boolean isCommandExecutionError(int rc) | |
| run | back to summary |
|---|---|
| public FS. Run command
| |