'Run a command.'

def RunCommand(self, source):

    self.CallClient(server_stubs.ExecuteCommand, cmd=source.attributes['cmd'], args=source.attributes.get('args', []), request_data={'artifact_name': self.current_artifact_name, 'source': source.ToPrimitiveDict()}, next_state='ProcessCollected')
