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 2021/08/20 09:32:23 UTC

[GitHub] [airflow] LionelZhao28 commented on a change in pull request #17751: add `cwd` in `BashOperator`

LionelZhao28 commented on a change in pull request #17751:
URL: https://github.com/apache/airflow/pull/17751#discussion_r692808423



##########
File path: airflow/hooks/subprocess.py
##########
@@ -35,24 +35,29 @@ def __init__(self) -> None:
         super().__init__()
 
     def run_command(
-        self, command: List[str], env: Optional[Dict[str, str]] = None, output_encoding: str = 'utf-8'
+        self,
+        command: List[str],
+        env: Optional[Dict[str, str]] = None,
+        output_encoding: str = 'utf-8',
+        bash_cwd: str = None,

Review comment:
       😄, that's right.
   I change it now.




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org