Launch a shell command with in a python script, wait for the termination and return to the script
Launch a shell command with in a python script, wait for the termination and return to the script Question: I have a python script that has to launch a shell command for every file in a dir: import os files = os.listdir(".") for f in files: os.execlp("myscript", "myscript", f) This works fine for the first …
Total answers: 7