Issue #4393 has been updated by Motohiro KOSAKI.


Note: ruby 1.8 makes different result. because we changed system() spec at ruby-1.9.

>> system("@ls.exe")
=> false
----------------------------------------
Bug #4393: windows commands starting with "@" should run at all
http://redmine.ruby-lang.org/issues/4393

Author: Roger Pack
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.9.3dev (2011-02-09 trunk 30831) [i386-mswin32_100] 


=begin
 Hello all.
 Originally reported this here: 
 http://www.ruby-forum.com/topic/1060963
 
 I believe in windows the following should work but fails (should call out to cmd to process it...)
 
 >> system("ls.exe")
 2.3  2.4  
 => true
 
 >> system("@ls.exe")
 => nil
 
 Thanks!
 -r
=end



-- 
http://redmine.ruby-lang.org