else {
finalCommand = new String[commandArray.length + args.length];
System.arraycopy(commandArray, 0, finalCommand, 0, commandArray.length);
System.arraycopy(args, 0, finalCommand, commandArray.length, args.length);
}
log.trace("Executing ssh command [{0}]", Arrays.toString(finalCommand));
Process p = runtime.exec(finalCommand);
String pid = "";
StringBuffer inputBuffer = new StringBuffer();
StringBuffer errorBuffer = new StringBuffer();