boolean () { final GeneralCommandLine cmdLine = new GeneralCommandLine("pgrep", TB_SERVER_PROCESS) .withParentEnvironmentType(GeneralCommandLine.ParentEnvironmentType.SYSTEM); try { final ProcessOutput out = ExecUtil.execAndGetOutput(cmdLine); return !out.getStdout().isEmpty(); } catch (ExecutionException e) { LOG.debug(e); } return false; }