unable to run dbconsole on windows note

As a note, currently in windows with 1.8.6

D:\dev\test2>ruby script\dbconsole
commands/dbconsole.rb:61:in `exec': No such file or directory -
mysql.exe (Errno::ENOENT)

This is caused by a bug in ruby 1.8.x on doze where
exec("command.exe", "args")
doesn't work if the command lives in a member of the path with spaces.

I suppose a fix would be to pass out the full path from dbconsole's
find_cmd method, but I wasn't sure if you wanted to go that way or
ignore it since it's a bug in ruby.

Is it patch-worthy? :slight_smile:

Also as a note, wherever there is [for example, in dbconsole]

if RUBY_PLATFORM = /mswin/

that should be if RUBY_PLATFORM = /mswin|mingw/

as that is necessary for folks who use mingw now instead of VC to
compile ruby on windows [also the next generation of ruby one click
installer for windows will be using mingw--best to be ready].