[mod_python] popen or os.system call

Graham Dumpleton grahamd at dscpl.com.au
Thu Jun 15 01:57:24 EDT 2006


If the perl code was factored as a handler, you could use  
req.internal_redirect()
with some psudeo URL to trigger it. Anyway, just thought. :-)


On 15/06/2006, at 2:14 PM, David Bear wrote:

> I have a need to call a peice of perl code from modpython. Is one
> method preferred over another, i.e. os.system or os.popen ? Is one
> considered 'more safe' or 'faster'?
>
> -- 
> David Bear
> phone: 	480-965-8257
> fax: 	480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list