Add a util/exec interface for testing execs.

Peeled off from ip-per-service
combine with the above line so there's no risk from re-use of the ee variable.