in reply to close STDOUT does not work, why?

HI if you wanted it to move after three seconds, then you should change the sleep 30 to 3 instead.thanks.

Replies are listed 'Best First'.
Re^2: close STDOUT does not work, why?
by Anonymous Monk on Aug 25, 2007 at 03:42 UTC
    Actually the child will go on to run some long process. I put the sleep 30 there to simulate this long process. The parent print the HTML page and every time it refreshes, it will get new data from the new page that the child printed.