I'm using subprocess to call command line. For example,
subprocess.check_output(["echo", "Hello World!"])
This is for one argument. I want to call an executable called "myFuntion" and pass several arguments to it, by their names. The command line I would have written is:
./myFunction --arg1 a1 --arg2 a2
How do I "translate" this?