combine executor and command