A small follow up...

Looks like as soon as you have a pipe in the command, cmd.exe is invoked 
correctly: system 'echo | rails'. I came up with this after digging trough 
to the actual implementation and nosing around for quite a time ;) .. its 
of course nonsensical. 

k

-- 
code manufacture & ruby lab at http://www.tua.ch/ruby