From: Erik Veenstra Date: 2005-01-18T19:31:04+09:00 Subject: Re: Ignoring RUBYOPT ? > You seem to have some rather restrictive constraints: > > - This must run under FreePascal, a language which doesn't > seem to offer anything like setenv. Correct. It's not impossible to switch to an other compiler, but it has to be available on a couple of platforms (Windows, Linux, Darwin, (Solaris)). That's restrictive as well. Besides that, a lot of testing has to be done to ensure that everything works still fine. It might as well introduce new shortcomings. Is it worth the effort? > - This must not make use of any auxiliary .BAT files. Correct. > - This has to run under Windows 98. Correct. Preferably even on Windows 95. > Combining these limitations with the fact that ruby doesn't > seem to offer a way to ignore RUBYOPT, then it appears like > you're stuck with having to use some sort of ugly > work-around, such as the nested ruby solutions mentioned > earlier. In the meanwhile, I've got a (not too ugly) work-around. Pure Ruby. I'll post in a couple of minutes. > Exec(GetEnv('COMSPEC'), '/C call xxxxxxxx.bat') Flashing screens. I like it! ;-) Thanks for your ideas. gegroet, Erik V.