System works with CWD in windows

Hi all.
I noticed that with MRI on windows, if you have
./xxx.bat

and you do

system(“xxx”)

it fails because it refuses to run anything from the current working
directory, citing it as a security concern.

Jruby, however, is more true to the OS and allows it to be run. Is this
a spec bug in jruby, think you?
I guess it is…
-r

it fails because it refuses to run anything from the current working
directory, citing it as a security concern.

viz: http://www.ruby-forum.com/topic/212510#new

At Ruby Midwest I heard some people talking about the removal of . from
the path in 1.9. It is going to break a lot of stuff.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs