Scripts posted recently tagged to command in Kelpi

1- 1 of 1.

launch a unix command from Python

to python unix linux command by nando.quintana

LOG_FILE_NAME = "access.log"
OLD_LOG_FILE_NAME = "old.log
from os import spawnlp, P_WAIT
spawnlp(P_WAIT, 'cp', 'cp', LOG_FILE_NAME, OLD_LOG_FILE_NAME)
hits counter