Problems with pythonw.exe/embdedding Zope terminating
Richard Jones
richard at bizarsoftware.com.au
Tue Sep 18 00:38:52 EDT 2001
On Win2000 & 98, running:
> python z2s.py
works fine but:
> pythonw z2s.py
will terminate itself after about 7 seconds (watching it in task manager)..
this seems to be about the same amount of time Zope takes to start up.
Exactly the same symptoms arise when embedding python with PyRun_SimpleString.
I did a test to see if it was related to stdout, but apparently this works
fine (pythonw just ignores the output):
print "Testing stdout"
open("test.txt", "w").write("Everything OK")
Any ideas? What is special about embedding/pythonw.exe?
Richard
More information about the Python-list
mailing list