From: nobu.nokada@... Date: 2003-05-14T23:44:05+09:00 Subject: Re: [PATCH] Re: return value for PTY.spawn Hi, At Wed, 14 May 2003 23:08:28 +0900, Laurent Sansonetti wrote: > I know this is not very 'clean' to add information in the exception. > Maybe we should include these information in the class itself, and > create some accessor methods, so we can write: PTY::ChildExited has the accessor "status" already. > begin > PTY.spawn(...) { ... } rescue PTY::ChildExited => e e = e.status > pid = e.pid val = e.status > end -- Nobu Nakada