Uros
4/14/2006 7:31:00 AM
Hello,
I have this for loop thats executing
IO.popen ("mysql database+i < database.sql")
It seems that the databases don't get populated with all the data,
since it seems that one mysql loop doesn't finish as the other one
start. So it seems, bear in mind I'm no expert, just trying to
trubleshoot the problem.
When I do a manual mysq < database.sql it works.
Is there I way to make ruby wait for the command to finish, befor
continuing to loop?
br,
uros