Scott Kruger created AIRFLOW-706:
------------------------------------

             Summary: Configuration shell commands are not split properly
                 Key: AIRFLOW-706
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-706
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: Airflow 1.7.1.3
            Reporter: Scott Kruger


The command string in {{airflow.configuration.run_command}} is split with 
{{str.split}} instead of {{shlex.split}}; this can cause problems when a valid 
command includes an argument with spaces, e.g.

{noformat}
echo "foo bar"
{noformat}

 is split into 

{noformat}
['echo', '"foo', 'bar"']
{noformat}

See: 
https://github.com/apache/incubator-airflow/blob/master/airflow/configuration.py#L79



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

Reply via email to