I have seen similar questions, but in all those answer, you can only get the variable by position. How can one pass a named variable to a bash script such that it is accessible by its name in the bash script?
I have tried to use
os.system('./script.sh --key=val')
But $key
didn't have any assigned value in script.sh
.