Latest upgrade to web2py appears to have changed the name for
parameters in a background process.

Yesterday I was running a background process using
subprocess.Popen("c:/python27/python %s/web2py.py -S scraper -M -N -R
%s" \
                    %(os.getcwd(),
                      os.getcwd()+"/applications/scraper/modules/
execute.py -A "+
                      str(session.scraperid))+" "+str(processid),
Shell=True)

I referred to the arguments using SYS.ARGS as it says in the manual.
Today my program fails as SYS.ARGS does not exist. Further
investigation shows I can use SYS.ARGV instead.



Reply via email to