[ 
https://issues.apache.org/jira/browse/AIRFLOW-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayesh reassigned AIRFLOW-708:
------------------------------

    Assignee: Jayesh

> SSHExecuteOperator dont respect multiline output from the command 
> ------------------------------------------------------------------
>
>                 Key: AIRFLOW-708
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-708
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Jayesh
>            Assignee: Jayesh
>
> I find following piece of code works when you have 1 liner output but simply 
> cant work for multiline output from the given bash_command ( it will print 
> proper multiline output in log though )
> {code}
>     line = ''
>     for line in iter(sp.stdout.readline, b''):
>         line = line.decode().strip()
>         logging.info(line)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to