private void checkWorkingDirectory()

in src/main/java/org/apache/commons/exec/DefaultExecutor.java [222:226]


    private void checkWorkingDirectory(final File directory) throws IOException {
        if (directory != null && !directory.exists()) {
            throw new IOException(directory + " doesn't exist.");
        }
    }