From Ruby: Calling a DOS batch file, waiting for it to finis


Can somebody point me at the best way to call a DOS batch file, and wait
it to finish. The batch file itself will be running a number of
including sqlloader. Ruby needs to wait for it to finish before

What is the way to do this please? Pretty please?

Thanks awfully!

Forget it - think I’ve just figured out the system call does just that
(unless anybody knows a good reason why I shouldn’t go down this

On 06/11/06, Glenn S. [email protected] wrote:

Thanks awfully!

All the best
Aylesbury, UK

Hi Glenn

I am interested to know how you resolved your issue. I know that I am
years behind on requesting this…but thought I’d give it a shot. :slight_smile:


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