[Zope] Need to call external programs in a DTML
Tony McDonald
tony.mcdonald@ncl.ac.uk
Fri, 13 Aug 1999 13:28:06 +0100
At 9:15 am +0000 12/8/99, Constantin Teodorescu wrote:
>Need to call some external programs written in Tcl or Java that will
>update some database tables in order to deliver some information
>retrievable by ordinary Z SQL methods.
>
disclaimer: I'm just readng this from the O'Reilly Python Bok, page 117
The python stuff is probably os.system() and os.popen(), eg
os.system("your_prog.java")
and
the_output = os.popen("your_prog.java", "r").read()
how you pass arguments is beyond me...
hth
tone out.
------
Dr Tony McDonald, FMCC, Networked Learning Environments Project
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2