From: bbense+comp.lang.ruby.May.29.02@... Date: 2002-05-29T23:02:57+09:00 Subject: Re: OS independent scripts, system calls on Windows and Linux -----BEGIN PGP SIGNED MESSAGE----- In article <3CEE3F66.3050602@pinkjuice.com>, Tobias Reif wrote: >nobu.nokada@softhome.net wrote: > > >> Open3.popen3 doesn't work on mingw32/mswin32. > >Thanks for the info. > >All these incompatibility issues are why I want to talk about an RCR. > >If there are workarounds reqired to get platform independent scripts, >like OS- / version- / type of compilation - sniffing, then I think it >would be awesome to not require the Ruby user to do that each time, but >put it into the stdlib or Ruby itself. > >I watn a system command mechanism that's *very* OS/build/version/... >independent, and is *very* safe, stable, simple, quick&easy, yet >flexible to use. > >And yes, I can imagine that there are a lot of annoyances in OSes >(...like M$Windows) etc. when trying to implement that :) > - - I think you'll find that the "annoyances" go much deeper than you realize. I'm just guessing, but I suspect that it wouldn't be too hard to prove that you are asking Ruby to solve the halting problem. - - Having said that, I do think that there are things that could make life easier, but I think you'll have better luck if you focus on smaller specific things. I suspect there is lot's of useful information you could get out of rbconfig.rb - - Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPPTZOAD83u1ILnWNAQFOhgQA4R126IfhfjItJ54Fi4K5zDCy8AGOx0JV P8Ef+K9epSM1DfPdRNuibiNxR17QQEu0QOc00CqunUF7kJbIJvuK6FXSg9lcVbdK MvKzcv7fA53T37tbioiL/6evV41YQUtxXFiMRIZm/Sj7/1GawY2Qi13UKFfzz8ks ccopjFOeAV4= =tpB7 -----END PGP SIGNATURE----- --