C:\>type C:\Work\test.bat
C:
cd C:\Work
dir >>C:\test.txt
run in Windows cmd is ok.
run in python 2.51 is ok.
but
in webpy :
...
render = web.template.render('templates/');
urls = (
'/', 'test',
);
class test:
def GET(self):
os.system(r"C:\Work\test.bat")
...
the prompt is ok.but no file is created. It looks like is run failed.
and then I tried is system a exe file in webpy, it will be success.
Only bat file run failed.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---