J
Junkone
I run this in a loop and the fastercsv locks up the file. how do i
release it after processing the file so that the next export statement
can use the same file.
analysis.export("c:\\temp\\report.txt")
hasresults=false
rows=FasterCSV.open("c:\\temp\\report.txt",
{:headers=>:first_row,:col_sep=>"," ,:skip_blanks=>true})
File.delete("c:\\temp\\report.txt")
Permission denied - c:\temp\report.txt
release it after processing the file so that the next export statement
can use the same file.
analysis.export("c:\\temp\\report.txt")
hasresults=false
rows=FasterCSV.open("c:\\temp\\report.txt",
{:headers=>:first_row,:col_sep=>"," ,:skip_blanks=>true})
File.delete("c:\\temp\\report.txt")
Permission denied - c:\temp\report.txt