* remote agent
*/
public static String which(String c) throws IOException {
CmdAgentImpl agent = CmdAgentImpl.getHandle();
if (agent != null) // Running on agent
return agent.which(c, Invoker.getContextLocation());
else // Running on master
return CmdService.getHandle().which(c,
Invoker.getContextLocation());
}