Bash Pass Variables Between Scripts

I have an app that can call a single script, sending it some variables.  Unfortunately, I needed to run multiple scripts, but both utilizing the same variables.  With bash, there is an easy way to do that, just append “$@” to the script.

For example, the application calls ‘’ with variables $1 through $7.  The contents of ‘’ is below and the variables are passed through to script1 and script2.

./ "$@"
python ./ "$@"