Is it so simple?!?
i'm going to study some to understand what '[ ! $# -ge 2 ]' stands for... i wish to find some docs on this..
You need to look up
bash programming in google
Means 'if commandline args not greater or equal to 2' basically (checks both P and Q args used)
i don't understand what you suggest to do. Can you just explain the logic of the process?
It is a big and often complex process, you need to look up on google
For instance
www.yolinux.com/TUTORIALS/ForkExecProcesses.html
Basically system, spawn, spawnl, fork, exec, execv and all the other similar functions, start a child process, doing something different to or complementary to the the main program.
The differences are in whether the process is independent of the spawning program and continues after it closes, whether it is in an OS dependent shell or a new thread, if you capture and use its output, whether you handle its exit and use the code to determine future actions, etc etc etc.
Python will have a function which just executes a command through the OS's default shell (bash or sh), its just a question of finding it and figuring out the best way to use it.
Then your python program can get the value from your pyvcp slider or whatever and set the parameter directly with a system call.
Not something I can explain much more, you need to do a lot of reading until it becomes clear to you.
regards