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.
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.
On May 24, 6:56 pm, anon_comp [email protected] wrote:
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
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
On May 24, 2:51 pm, Frederick C. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs