tandelDipak opened a new issue #13942:
URL: https://github.com/apache/airflow/issues/13942


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the 
following questions.
   Don't worry if they're not all applicable; just try to include what you can 
:-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   **Description**
   
   <!-- A short description of your feature -->
   I have defined one shell script function and in my .bashrc profile, I have 
added a line to source the bash script so that I can run the function defined 
inside the script. The same command doesn't work in Bash Operator.
   
   **Use case / motivation**
   
   <!-- What do you want to happen?
   
   Rather than telling us how you might implement this solution, try to take a
   step back and describe what you are trying to achieve.
   
   -->
   I have to run multiples command (5-6 commands to run one script) using && 
operator to setup environment and other things. I have a custom command which 
takes 3 arguments and does all the work of 5-6 commands. This feature will help 
everyone to run custom commands to simplify the process. 
   
   I have done something similar to the below post. Those custom commands are 
not working in BashOperator.
   
   
https://medium.com/devnetwork/how-to-create-your-own-custom-terminal-commands-c5008782a78e
   
   **Are you willing to submit a PR?**
   
   <!--- We accept contributions! -->
   Yes, I am willing to submit PR.
   
   **Related Issues**
   
   <!-- Is there currently another issue associated with this? -->
   


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


Reply via email to