You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/12/30 15:43:24 UTC

[GitHub] [airflow] ashb commented on a change in pull request #6905: [AIRFLOW-6361] Run LocalTaskJob directly in Celery task

ashb commented on a change in pull request #6905: [AIRFLOW-6361] Run LocalTaskJob directly in Celery task
URL: https://github.com/apache/airflow/pull/6905#discussion_r362019838
 
 

 ##########
 File path: airflow/executors/celery_executor.py
 ##########
 @@ -63,13 +62,9 @@ def execute_command(command_to_exec: CommandType) -> None:
     """Executes command."""
     log = LoggingMixin().log
     log.info("Executing command in Celery: %s", command_to_exec)
-    env = os.environ.copy()
     try:
-        subprocess.check_call(command_to_exec, stderr=subprocess.STDOUT,
 
 Review comment:
   Environment variables will be preserved - since it's the same process :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services