Is there a command in ruby that when given the pid , it will terminate all children processes of that pid including itself. thanks Yohanes Santoso wrote: > Name Name <exl2 / cornell.edu> writes: > >> I want this to be portable, ie not just *nix, so I can't fork. > > It is because of portability issue that I wrote my reply. > Being portable does not mean staying of OS-specific features. You can > do that, if there is another option for you to take. In this case, > however, there is no other. > > So, being portable for your needs means providing different workaround > for different environment. > > I don't know much about win32, but I know for *nix, you need to do the > forking and setup IO redirection yourself (not using IO.popen at all). > > The other people here have replied about doing this in win32. > > YS. -- Posted via http://www.ruby-forum.com/.