Had successfully implemented everything in python, but the question still exists: is there any way to run a foreign executable from the fastcgi'd python program?
On Apr 19, 4:21 pm, "arr.ee" <[email protected]> wrote: > Hello, > > Is there any way to run executable from webpy script, which is running > with lighty's mod_fastcgi? > For example, i have string like > > import subprocess as sp > output = sp.Popen([searcher, prepared_query], > stdout=sp.PIPE).communicate()[0] > > and it works quite ok when i run webpy script directly, but when i run > it from lighty, it returns nothing (like, ''). The executable i'm > trying to execute works ok, permissions are ok too (i've even tried > 777). > > Thanks in advance. > > -- > Regards, > Max > > -- > 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 > athttp://groups.google.com/group/webpy?hl=en. -- 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.
