[web2py] Re: How to a web2py environment along to subprocess?

2012-12-17 Thread Ian W. Scott
Sorry, the question title should read How to *pass* a web2py environment along . . . I can't seem to correct the title! On Monday, December 17, 2012 11:11:47 AM UTC-5, Ian W. Scott wrote: I'm running a file like this: python ~/web/web2py/web2py.py -S paideia -M -R

[web2py] Re: How to a web2py environment along to subprocess?

2012-12-17 Thread Massimo Di Pierro
You cannot expose it. You can re-recreate it. from gluon.shell import env; globals().update(env('yourappname',import_modules=True)) On Monday, 17 December 2012 10:11:47 UTC-6, Ian W. Scott wrote: I'm running a file like this: python ~/web/web2py/web2py.py -S paideia -M -R