// strip the first argument, its our prompt command string and can't be passed to the cmdline client
String[] remoteCmdArgs = new String[args.length - 1];
System.arraycopy(args, 1, remoteCmdArgs, 0, remoteCmdArgs.length);
// use the command line client utility to build the command, but send the command via the agent's client sender
CmdlineClient client = new CmdlineClient();
Command command = client.buildCommand(remoteCmdArgs);
int blast_count = getTestBlastCount(agent);
for (int i = 0; i < blast_count; i++) {
agent.getClientCommandSender().sendAsynch(command, new Callback(agent));