third_party/blink/tools/blinkpy/common/system/executive.py
def command_for_printing(self, args):
        """Returns a print-ready string representing command args.
        The string should be copy/paste ready for execution in a shell.
        """
        args = self._stringify_args(args)
        escaped_args = []
        for arg in args:
            if isinstance(arg, six.text_type):
                # Escape any non-ascii characters for easy copy/paste
                arg = arg.encode('unicode_escape')
            # FIXME: Do we need to fix quotes here?
            escaped_args.append(arg.decode(self._child_process_encoding()))
        return ' '.join(escaped_args)
Returns a print-ready string representing command args.
        The string should be copy/paste ready for execution in a shell.
        
Returns a print-ready string representing command args.
The string should be copy/paste ready for execution in a shell.
Returns a print - ready string representing command args . The string should be copy / paste ready for execution in a shell .
def command_for_printing(self, args):
        args = self._stringify_args(args)
        escaped_args = []
        for arg in args:
            if isinstance(arg, six.text_type):
                arg = arg.encode('unicode_escape')
            escaped_args.append(arg.decode(self._child_process_encoding()))
        return ' '.join(escaped_args)
def command_for_printing ( self , args ) : args = self . _stringify_args ( args ) escaped_args = [ ] for arg in args : if isinstance ( arg , six . text_type ) : arg = arg . encode ( 'unicode_escape' ) escaped_args . append ( arg . decode ( self . _child_process_encoding ( ) ) ) return ' ' . join ( escaped_args )
Returns a print-ready string representing command args.
Returns a print - ready string representing command args .
"""Returns a print-ready string representing command args.
        The string should be copy/paste ready for execution in a shell.
        """ # Escape any non-ascii characters for easy copy/paste # FIXME: Do we need to fix quotes here?
self
args