I want to run the command
find some/path -exec program \\{} \\;
but I want the find command to quit as soon as the command
In addition to the other fine answers, GNU find (at least) has a -quit predicate:
-quit
find path -other -predicates \( -exec cmd {} \; -o -quit \)
The -quit predicate is certainly non-standard and does not exist in BSD find.