0
# Open user's template file
if [catch { set f_id [open "$ex_doc_template_file" r] } res] {
# Close output file before abort
global html_output_file_id
catch { close $html_output_file_id }
MOM_abort "$ex_doc_template_file can not be open!"
}
我有上面的代碼需要打開一個模板文件,前幾天還在工作,昨天剛開始顯示無法打開,可能有什麼幫助嗎?template_file無法打開
任何更改進入該模板文件?像文件許可等?我認爲問題可能在於此。 –