public ProcessBuilder getNewBatchRunnerProcess(String testConfig, String loggerProps, Map<String, String> args) {
        List<String> argList = new ArrayList<>();

        for (Map.Entry<String, String> e : args.entrySet()) {
            argList.add("-" + e.getKey());
            argList.add(e.getValue());
        }

        String[] fullCommandLine = commandLine(testConfig, loggerProps, argList.toArray(new String[0]));
        return new ProcessBuilder(fullCommandLine);
    }
helper method equivalent to File#listFiles()
grabs children only, does not walk recursively

@param p
@return
tika-batch/src/test/java/org/apache/tika/batch/fs/FSBatchTestBase.java