Execute external program in ruby and wait for its execution

Viewed 11410

How do I start an external program (like an excel sheet) from ruby and wait for its execution resp. termination before continuing.

I know I can start the excel sheet with

system 'start excel "my/path/to/the/sheet"' 

but using this will only start the sheet and then continues.

3 Answers
Related