Skip to content

Support unicode output of BashOperator #1166

@samson-wang

Description

@samson-wang

Got exception when bash command output unicode to stdout.
In airflow/operators/bash_operator.py

                for line in iter(sp.stdout.readline, b''):
                    line = line.decode().strip()
                    logging.info(line)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions