
Salu zäme, ich möchte einen in python geschriebenen startscript aus python starten. dazu benutze ich folgende zeilen: *def* startstopZopeInstance(path, command, quiet = 0): p = popen('%s/bin/zopectl %s' % (path, command)) result = p.close() *if* *not* quiet: *print* result *print* 'Zope started/stoped' wobei command jeweils 'start' ist. Zope wird korrekt gestartet ich erhalte dabei folgenden "traceback". gibt es eine bessere art einen derartigen doemon zu starten? danke Robert Traceback (most recent call last): File "/home/zope/Zope-2.8.5-final/lib/python/Zope2/Startup/zopectl.py", line 322, in ? main() File "/home/zope/Zope-2.8.5-final/lib/python/Zope2/Startup/zopectl.py", line 283, in main c.onecmd(" ".join(options.args)) File "/usr/local/lib/python2.3/cmd.py", line 210, in onecmd return func(arg) File "/home/zope/Zope-2.8.5-final/lib/python/Zope2/Startup/zopectl.py", line 158, in do_start ZDCmd.do_start(self, arg) File "/home/zope/Zope-2.8.5-final/lib/python/zdaemon/zdctl.py", line 234, in do_start "daemon process started, pid=%(zd_pid)d") File "/home/zope/Zope-2.8.5-final/lib/python/zdaemon/zdctl.py", line 183, in awhile sys.stdout.flush() IOError: [Errno 32] Broken pipe _______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de