exeCommand
public CommandResults exeCommand(java.io.File execDir,
java.util.List<java.lang.String> args,
java.util.List<java.lang.String> credentials,
org.jfrog.build.api.util.Log logger)
throws java.lang.InterruptedException,
java.io.IOException
Execute a command in external process.
- Parameters:
execDir - - The execution dir (Usually path to project). Null means current directory.
args - - Command arguments.
credentials - - If specified, the credentials will be concatenated to the other commands.
The credentials will be makes in the log output.
logger - - The logger which will log the running command.
- Returns:
- CommandResults object
- Throws:
java.lang.InterruptedException
java.io.IOException