2010-03-31, 18:31
MatcherMike Wrote:I named script mike.py and gave permissions 755
does the file need to be executable?
sudo chmod a+x /path/to/file
on my ubuntu box i have to define the whole path to the script like this:
Code:
import os
os.system('/home/server/get_iplayer.cgi --port=1935 --get_iplayer=/usr/bin/get_iplayer')