windows commands starting with "@" should run at all
Originally reported this here:
I believe in windows the following should work but fails (should call out to cmd to process it...)
Updated by kosaki (Motohiro KOSAKI) over 9 years ago
- ruby -v changed from ruby 1.9.2p0 (2010-08-18) [i386-mingw32] to ruby 1.9.3dev (2011-02-09 trunk 30831) [i386-mswin32_100]
Agreed. C lang's System() allow system("@dir"). Therefore ruby's should allow it too.
Plus, This can be reporoduced on trunk. then I've replaced `ruby -v' field.
Updated by usa (Usaku NAKAMURA) over 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r30867.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- win32/win32.c (is_internal_cmd): if the first char of prog is '@', execute it via shell. ruby-core:35218 =end