Feb-15-2018, 06:34 AM
(This post was last modified: Feb-15-2018, 06:34 AM by Gribouillis.)
I think you need a shell script that finds the correct python interpreter then calls the exec command with that interpreter and the command line arguments that were passed to the script. I suppose all this is for linux?
You could use a python script if you write a version-agnostic code that will work with the system's default python interpreter. Then you would call os.execl.
You could use a python script if you write a version-agnostic code that will work with the system's default python interpreter. Then you would call os.execl.