jruby's system("ls") seems to behave different than MRI
-------------------------------------------------------

                 Key: JRUBY-5523
                 URL: http://jira.codehaus.org/browse/JRUBY-5523
             Project: JRuby
          Issue Type: Bug
         Environment: jruby 1.6.0.RC2 (ruby 1.8.7 patchlevel 330) (2011-02-10 
6fdca25) (Java HotSpot(TM) Client VM 1.6.0_18) [Windows 7-x86-java]

            Reporter: Roger Pack
            Assignee: Thomas E Enebo


http://groups.google.com/group/jruby-users/browse_thread/thread/047a79c9de6c3c1d?fwc=1

ed that when I run system("ls.exe") 
in jruby 
C:\jruby-1.5.5\bin>jruby -e 'system("ls.exe")' 
ast 
ast.bat 
autospec 
autospec.bat 
gem 
and in mri: 
C:\jruby-1.5.5\bin>ruby -e 'system("ls.exe")' 
ast       autospec.bat  generate_yaml_index.rb      jgem.bat  jirb_swing 
ast.bat   gem           generate_yaml_index.rb.bat  jirb 
(it gives the long output in jruby, but not in mri). 

This is the ls.exe from mingw, or also from system('c:\program 
files\git\bin\ls') (msysgit)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to