System firefox returns false. Why?

Hi!
Nothing happens typing the following:

C:>irb
irb(main):001:0> system “firefox.exe”
=> false
irb(main):002:0> exit

while this command opens firefox:
C:>firefox.exe

C:>

how comes? any ideas?
Thanks

I’m not on a Windows machine, so I can’t replicate, but system should
return
false if the command exits with a non-zero status. Maybe it’s a problem
internal to Firefox on Win? Seems to work as expected on Linux FWIW.

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