From: Steven Kah Hien Wong Date: 2004-11-04T11:08:48+09:00 Subject: Re: Ruby redirection woes On Tue, Nov 02, 2004 at 10:25:51PM +0900, Brian Candler wrote: > (However I'm not sure that fix is necessarily good; the same problem > would happen with other filehandles which are open, and there's no > proposal that fork() should flush all those too). Yes, I guess you have a point there. I guess fork should be left as it was before, then? Perhaps add documentation to flush stdout before forking in the Ruby documentation somewhere. Never knew forking could get so complicated. :( Steven -- NAUTRONIX LTD Marine Technology Solutions Steven Wong Undergraduate Software Engineer Nautronix Ltd ABN 28 009 019 603 108 Marine Terrace, Fremantle, WA 6160, Australia T +61 (0)8 9431 0000, F +61 (0)8 9430 5901, http://www.nautronix.com E steven.wong@nautronix.com.au T +61 (0)8 9431 0024 M +61 (0)413 332 005 -- This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of NAUTRONIX LTD. If you are not the intended recipient, you have received this email in error and use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please contact the sender. Although our computer systems use active virus protection software, and we take various measures to reduce the risk of viruses being transmitted in e-mail messages and attachments sent from this company, we cannot guarantee that such e-mail messages and attachments are free from viruses on receipt. It is a condition of our using e-mail to correspond with you, that any and all liability on our part arising directly or indirectly out of any virus is excluded. Please ensure that you run virus checking software on all e-mail messages and attachments before reading them.