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 wit
The problem you are having is not with Ruby but the start command, this launches another program and returns immediately. You need to make that command wait for excel to finish using the wait flag:
wait
system('start /wait excel "my/path/to/the/sheet"')