From: Glenn Smith Date: 2006-11-07T05:12:43+09:00 Subject: Re: From Ruby: Calling a DOS batch file, waiting for it to finish ------=_Part_42385_12934694.1162843960756 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 method?) On 06/11/06, Glenn Smith wrote: > > Help! > > Can somebody point me at the best way to call a DOS batch file, and wait > for > it to finish. The batch file itself will be running a number of commands, > including sqlloader. Ruby needs to wait for it to finish before > continuing. > > What is the way to do this please? Pretty please? > > Thanks awfully! > > -- All the best Glenn Aylesbury, UK ------=_Part_42385_12934694.1162843960756--