Add an option to run a check implemented in ruby in a forked process instead of a using sh -c for performance gains