Running .exe External File in Ruby

Just need some help on how to run an .exe file in Ruby.

I tried the code:

f = IO.popen("C:\analog 6.0\analog.exe")
puts f.readlines

Which I had a bit of suspicion that it didn't work, and it didn't.

Help please, thanks.

That's probably because you haven't escaped those backslashes.

Fred

Wow, I feel extremely stupid that the solution was right in front of
my eyes.

Thanks Fred