Exemplo n.º 1
0
def get_stripped_output(cont, custom_codes=None):
    """
    Return the STDOUT and STDERR output without the console
    codes escape and sequences of the process so far.

    :param cont: input string
    :param custom_codes: The special console codes escape
    """
    return astring.strip_console_codes(cont, custom_codes)
Exemplo n.º 2
0
def get_stripped_output(cont, custom_codes=None):
    """
    Return the STDOUT and STDERR output without the console
    codes escape and sequences of the process so far.

    :param cont: input string
    :param custom_codes: The special console codes escape
    """
    return astring.strip_console_codes(cont, custom_codes)