I\'ve 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(\"myscri
use spawn
import os os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')