Hi Suos, 

DoMY's translate graph uses the Python subprocess module
to instantiate the moses binary. So, it doesn't make much sense to use
subprocess to call "domy translate". DoMY is not designed to support a
web/CGI interface. Several users have integrated it into their web
solutions. For example, DoMY's Python modules and objects can be
instantiated directly into a Python web page environment. 

DoMY is also
a separate project from the moses-support list. I'm happy to support you
with direct email exchange. Can you send more details directly to me?


Thanks,
Tom 

On Tue, 13 Mar 2012 19:30:16 -0700 (PDT), Suos Samak 
wrote:  

 Hi, 

I need to execute an external command (domy translate)
with Python from Web. I know there is subprocess module that executes
external programs but I'm trying to execute a command registered for the
execution of a program. In this case when I execute my file in the shell
everything is Ok, but from the Web it doesn't work. Does anybody know
what could be???

-------------------------

SUOS SAMAK 

M.C.A Student
at JMI, 

167-A, First Floor, Sarai Jullena, Okhla Road, New Delhi-25,
India. Phone: +918802841868   

 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to