Actions
Bug #12634
closed
Updated by krwq (Krzysztof Wicher) almost 9 years ago
output is random file name (tags got removed)
Updated by avit (Andrew Vit) almost 9 years ago
This is handled by your shell before passing to ruby. Compare:
ruby -e 'puts ARGV.inspect' *
["file1", "file2"]
ruby -e 'puts ARGV.inspect' '*'
["*"]
Updated by shyouhei (Shyouhei Urabe) almost 9 years ago
Andrew, I guess this is the key part:
OS: Windows 10
So yes, ruby handles glob in pace of Unix shells on this platform. As far as I remember this is by design.
Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
- Status changed from Open to Closed
Updated by usa (Usaku NAKAMURA) almost 9 years ago
- Status changed from Closed to Rejected
Anyway, although on Windows, use '*'
to prevent globbing.
Actions
Like0Like0Like0Like0Like0Like0