From: Alexander Bokovoy Date: 2001-12-18T01:34:54+09:00 Subject: [ruby-talk:28791] Re: RDoc - Document Ruby source files On Tue, Dec 18, 2001 at 01:16:09AM +0900, Christian Boos wrote: > -----Original Message----- > From: Alexander Bokovoy [mailto:a.bokovoy@sam-solutions.net] > Sent: Monday, December 17, 2001 3:30 PM > To: ruby-talk ML > Subject: [ruby-talk:28769] Re: RDoc - Document Ruby source files > > > On Mon, Dec 17, 2001 at 11:19:11PM +0900, Dave Thomas wrote: > > Alexander Bokovoy writes: > > > > > Is there a way to execute some code inside your application in an > isolated > > > environment and reliably catch all errors/context without crashing own > > > application in case when some unresolved symbols or something like that > > > are exist? > > > > Yes, but... is there any way to supply that code with the data it > > needs to run? And are you sure you want me to execute the > > "initiate_self_destruct" method? > Of course, not :) > > Why not? :) > > Some kind of combination of chroot() to launch an auxilliary > interpreter in a sandbox, and drb (distributed Ruby) to connect > that application, then it can well self_destruct whatever it wants :) :) It might be a solution but definitely not so good in case of rdoc and find-requires/provides in RPM. -- / Alexander Bokovoy $ cat /proc/identity >~/.signature `Senior software developer and analyst for SaM-Solutions Ltd.` --- Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...