On Mon, Jan 08, 2007 at 06:14:44AM +1100, Matthew Palmer wrote: > On Mon, Jan 08, 2007 at 12:57:48AM +1100, Paul TBBle Hampson wrote: >> Maybe the close-file-after-executing-closure code doesn't throw >> exceptions? Or they're ignored? I dunno. Need an actual Ruby programmer >> for this one. ^_^
> <programmer lang="ruby" status="actual"> > File.open throws exceptions, and if an exception is thrown by the writing of > the PID then the daemon will exit with a return value of 74. > </programmer> That's what I expected. However in this case, it is reportedly not throwing an exception, but the file is ending up empty. I guess it's possible that Ruby doesn't know the write failed... -- ----------------------------------------------------------- Paul "TBBle" Hampson, B.Sc, LPI, MCSE On-hiatus Asian Studies student, ANU The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] Of course Pacman didn't influence us as kids. If it did, we'd be running around in darkened rooms, popping pills and listening to repetitive music. -- Kristian Wilson, Nintendo, Inc, 1989 License: http://creativecommons.org/licenses/by/2.1/au/ -----------------------------------------------------------
pgpyam8ejvCK6.pgp
Description: PGP signature