def command(self, name, *args):
        """ Very basic interface [see populate()]
        Sends command 'name' to process, with given args
        """
        cmd = '%s%s%s\n'%(name,
                ' ' if args else '',
                ' '.join(repr(a) for a in args)
                )
        self._mplayer.stdin.write(cmd)
        if name == 'quit':
            return
        return self._readlines()
 Very basic interface [see populate()]
        Sends command 'name' to process, with given args
        
recipes/Python/542195_Access_mplayer_slave_mode/recipe-542195.py