'Fake C{os.execvpe}. Save the action, and raise an error if
C{self.raiseExec} is set.'

def execvpe(self, command, args, env):

    self.actions.append('exec')
    if self.raiseExec:
        raise RuntimeError('Bar')
