ramsesrm opened a new issue #13445:
URL: https://github.com/apache/airflow/issues/13445
**Description**
Current (1.10.14) behavior of BashOperator's is entirely replacing the os
env by the envvars present in the "env" dict, if exists.
Perhaps it should extend the os envvars with the ones in the env dict,
instead.
**Use case / motivation**
I'm using a BashOperator + custom env dict on an Airflow stable helm
installation, and i had to add an additional env dict entry like this to make
it work:
``
env={
"PATH": "$PATH:/bin",
``
as using the "env" entry the original os PATH variable is ignored, and
Airflow can't even find "bash" command.
----------------------------------------------------------------
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:
[email protected]