Looks like it's not that simple, apparently different platforms treat whitespace differently. I expect to have a patch tomorrow that will work everywhere. If you can't wait for Massimo to include it in trunk, you will be able to get it from the bzr web2py cron branch on launchpad.
On Mar 19, 10:30 pm, Vidul Petrov <[email protected]> wrote: > Hi Iceberg, > > Could it be an unescaped space in Popen class? > If so, does this rough solution work (gluon/contrib/cron.py)? > > $diff cron.py cron_new.py > > 202c202 > < proc = Popen([self.cmd], stdin=PIPE, stdout=PIPE, > --- > > > proc = Popen([r'%s' % self.cmd], stdin=PIPE, stdout=PIPE, > > On Mar 19, 12:30 pm, Iceberg <[email protected]> wrote: > > > Hi Achipa, > > > I have an app based on web2py-win.zip 1.56.4's cron feature. I just > > noticed that, if the whole web2py is deployed in a directory name with > > space inside, such as C:\Program Files\web2py, the cron feature does > > not work, instead I saw one line appeared on the console: > > WARNING:root:WEB2PY CRON Call returned code 1: > > > If I deploy it in C:\SOLID\web2py, everything runs smooth. > > > So there might be some dir issue in cron's launcher. Please take a > > look. Thanks in advance! > > > Regards, > > Iceberg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

