private void handleThrowable(Path target, Throwable t) {

        try {
            Path errMsg =
                    target.getParent().resolve(target.getFileName().toString() + ".stacktrace");
            Files.write(errMsg, ExceptionUtils.getStackTrace(t).getBytes(StandardCharsets.UTF_8));
        } catch (IOException e) {
            LOG.warn("things aren't going right today.", t);
        }

    }
Forked process that runs against a single input file
tika-fuzzing/src/main/java/org/apache/tika/fuzzing/cli/FuzzOne.java