Basically, I need to redirect the results of exec. While I can
$stdout.reopen(file), and I can redefine $stdout to anything with a
write' method, I seem to be unable to send the results of exec to anything within my script (so exec('echo','1') would send "1\n" to a method). I tried to subclass IO, but then I get :in
reopen’: uninitialized stream (IOError)
Any ideas?
Daniel Brumbaugh K.