Graceful Console Handling?

So I’ve created a project utilizing the DLR and IronRuby
(http://www.codeplex.com/ironlogo) The Console classes seemed pretty
tied to having an actual console open, and then there’s no real way to
shut them down gracefully. Am I just missing something, somewhere?
Seems like there should be a RubyCommandLine.Exit method or
somesuch…


Michael L.
[Polymath Programmer]
http://michaeldotnet.blogspot.com

I don’t know about the ironruby console features. But the dotnet console
class only encapsulates a small part of the the surface area of the
console related APIs. So to do more (like redirect a console
programatically, or use a hidden console) you may need to do p/invoke to
windows APIs

Having said that, the console subsystem of windows is very aged and a
dog to work with.

Sincerely,
Karl Prosser
http:/www.powershell.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs