airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2215] Pass environment to subproces.Popen in base_task_runner
Date Tue, 03 Apr 2018 05:44:07 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 9dba430b6 -> d1f94fe20


[AIRFLOW-2215] Pass environment to subproces.Popen in base_task_runner

Closes #3183 from johnarnold/env2


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d1f94fe2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d1f94fe2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d1f94fe2

Branch: refs/heads/master
Commit: d1f94fe20ea47f18f353ed47a07bc589a4a9c063
Parents: 9dba430
Author: John Arnold (AZURE) <johnar@microsoft.com>
Authored: Tue Apr 3 07:43:18 2018 +0200
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Tue Apr 3 07:43:18 2018 +0200

----------------------------------------------------------------------
 airflow/task/task_runner/base_task_runner.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d1f94fe2/airflow/task/task_runner/base_task_runner.py
----------------------------------------------------------------------
diff --git a/airflow/task/task_runner/base_task_runner.py b/airflow/task/task_runner/base_task_runner.py
index 946baf8..9b386df 100644
--- a/airflow/task/task_runner/base_task_runner.py
+++ b/airflow/task/task_runner/base_task_runner.py
@@ -122,6 +122,7 @@ class BaseTaskRunner(LoggingMixin):
             stderr=subprocess.STDOUT,
             universal_newlines=True,
             close_fds=True,
+            env=os.environ.copy()
         )
 
         # Start daemon thread to read subprocess logging output


Mime
View raw message