[Zope] Running external applications

Graham Chiu anon_emouse@hotmail.com
Wed, 26 May 1999 09:15:25 +1200


In article <Pine.LNX.4.04.9905251139360.16514-100000@gaaros.msrc.sunysb.
edu>, Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> writes
>> > You can run any application in this way. (in Wndows os.system("start 
>this_program.exe") ).
>> 
>> Ouch. Look at os.popen(). It opens a pipe to a given command, which acts just 
>like a file. Read, write, and be happy.
>> 
>
>In Zope 1.10.2, being single threaded, an external method has the
>potential to block the whole Zope server. Make sure that the external
>method returns its results fast enough.

Looks my best option is to run Zserver for Zope stuff, and another
webserver for my php3, perl and .exe stuff.  Presumably two web servers
on different ports on the same PC can coexist peacefully.

-------
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz