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 test.py") in Bash Script Component. when I run the component, I need to pass Matillion's "Environment Variables to test.py for certain actions.
Laura Malins —
You can pass environment variables to the python script using the command line. So in the Bash Component you can call
- python test.py $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