David Bear wrote at 2007-7-6 14:55 -0700:
>5 external methods do not have access to stdin/stdout
However, "stdin/stdout/stderr" have not much worth
in "server mode". "server mode" means that there is no
"terminal" where this IO comes from is directed to.
You can change Zope's startup script and then redirect
the standard IO channels (stdin/out/err) to files (we
do that occasionally, to catch messages written by external components).
Or, you can start Zope in the "foreground".
In both cases, your "External Method" can use "stdout/stderr" (use
of "stdin" is very doubtful) to provide messages to use.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -