Map<Object, Object> newEnv = this.copyEnvironmentVariables();
DefaultExecutor executor = new DefaultExecutor();
ExecuteWatchdog watchdog = new ExecuteWatchdog(timeout);
executor.setWatchdog(watchdog);
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
PumpStreamHandler streamHandler = new PumpStreamHandler(outputStream);
executor.setStreamHandler(streamHandler);
if (this.doExecution(executor, new CommandLine(this.muleBin).addArgument("status"), newEnv) == 0)
{
Matcher matcher = STATUS_PATTERN.matcher(outputStream.toString());
if (matcher.find())