Starting a shell command without wait?


I have a simple problem. I like to start simply executable on windows XP
with a shell command as last step in the small script. Using
system(“some.exe”), some.exe, exec(“some.exe”) or %x[“some.exe”] keeps
always the shell open. After closing the exe the shell also vanish.

How can i simply start a executable from a ruby script without having
the shell always open?


I found my self the solution!

I use now IO.popen(“some.exe”) and it does the job.


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