def execute(self, argv):
        '''Executes user provided command. Eg. bii run:cpp'''
        errors = False
        try:
            if isinstance(argv, basestring):  # To make tests easier to write
                argv = shlex.split(argv)
            self.executor.execute(argv)  # Executor only raises not expected Exceptions
        except (__HOLE__, SystemExit) as e:
            logger.debug('Execution terminated: %s', e)
            errors = True
        except BiiException as e:
            errors = True
            self.user_io.out.error(str(e))
        except Exception as e:
            tb = traceback.format_exc()
            logger.error(tb)
            errors = True
            self.user_io.out.error('Unexpected Exception\n %s' % e)
            self.user_io.out.error('Error executing command.\n'
                                   '\tCheck the documentation in http://docs.biicode.com\n'
                                   '\tor ask in the forum http://forum.biicode.com\n')
        return errors
dataset/ETHPy150Open biicode/client/shell/bii.py/Bii.execute