Simplify the implementation of process_execute