I would like to know if it is possible to call a shell script from a python program but the shell script is not in the same directory that the python file? For the moment I just succeed in calling a shell script which is in the same directory that the python file which calls it thanks to this command:
So basically, in the program I have to do, I can't change the location of my bash script, so I have to find a way to call this bash script from my python file (qnd there are not in the same path)>
subprocess.call(["./my_shell_script.sh",my_argument])
Thank you,
SOLUTION:
subprocess.call(["the/path/to/the/script/script.sh"])
Jordane