system firefox returns false. Why?

Z

zak

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
 
C

Chris Kottom

[Note: parts of this message were removed to make it a legal post.]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top