code: public synchronized void readFromProcess(String pattern, String processName, boolean searchWithinLines) {
          ChorusProcess p = getAndCheckProcessByName(processName);
          p.waitForMatchInStdOut(pattern, searchWithinLines, TimeUnit.SECONDS, p.getConfiguration().getReadTimeoutSeconds());
      }
docs: ---------------------------------------------------------- Process Comms