You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Scott Kruger (JIRA)" <ji...@apache.org> on 2016/12/20 17:31:58 UTC
[jira] [Created] (AIRFLOW-706) Configuration shell commands are not
split properly
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)