Refactor exec drivers for multi process

This is a rebase of #7750