> Whatever the cause, other WebKit users will run into this, so
> I'll be happy
> to add the problem and solution to the docs once we nail this down.
Here's a patch that seems to work well. I didn't put in the os.setsid()
nor the extra fork and exit that one of the examples showed as I did not
understand them. If someone knows more about such things, please
advise.
What about changing stderr and maybe stdout to a log file?
ThreadedAppServer.py around line 626:
if daemon:
if os.name == "posix":
class BitBucket:
def flush(self):
pass
def write(self, s):
pass # nobody watches
sys.stdout = BitBucket()
sys.stderr = BitBucket()
pid=os.fork()
if pid:
sys.exit()
else:
print "daemon mode not available on your
OS"
-Jeff
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel