Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

how to pass Matillion's "Environment Variables" to python application

Pass Matillion's "Environment Variables" to my python application which is run in Bash Script Component ?

for example I have this command shell command ("python") in Bash Script Component. when I run the component, I need to pass Matillion's "Environment Variables to for certain actions.

2 Community Answers

Matillion Agent  

Laura Malins —

Hi Jerry

You can pass environment variables to the python script using the command line. So in the Bash Component you can call

  1. python $var1 $var2 $var3

where var1, var2 and var3 are your Matillion environment variables.


Jerry Cheng —

thank you. that is what I am looking for.

Post Your Community Answer

To add an answer please login