I am running a shell script from inside a python script like this:
call(['bash', 'run.sh'])
And I want to pass run.sh
a couple of variables from inside of the python script. It looks like I can just append variables, something like so:
call(['bash', 'run.sh', 'var1', 'var2'])
and then access them in my shell script with $1 and $2. But I can't get this to work.