"Jeff Johnson" <[EMAIL PROTECTED]> wrote:
>
>I'll take a closer look at this after I track down a real bad problem
>I've got on FreeBSD, maybe someone has an idea:  When we close the
>terminal that started webkit either in background or as a daemon, if the
>servlet prints a lot of text to the stdout, the servlet hangs.  If I
>remove the print statements, it works fine.  I'm writing a test script
>now...  This might be related to the other strange FreeBSD problem where
>I have to print to stdout before the threads will shutdown sockets
>cleanly.

With all the information you're gathering on terminals, shells and streams, you 
may be the person best equipped to write the official Webware init.d scripts.
:-)

>I'm hoping this is a Webware problem so we can fix it but I suspect
>there is something wrong in FreeBSD/Python which may be much much harder
>to find and fix :(

Have you looked at the "nohup" command? I first came across this in a script 
for starting "services" at boot time, but it may be relevant to your activity 
(and the resulting problem). What "nohup" seems to be used for is to isolate 
processes from their originating terminal even beyond the redirection of 
standard input, output and error.

Paul

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to