I think you may have it backwards. If the timeout attribute is missing or set to '0', then CF will spawn the executable and return immediately. In that case, you can't be sure the output file will exist yet, or that the spawned program has finished.
If CF returns before the timeout lapses, then the program it launched should have completed and the output file should be closed. If you just want to display the output of the program in-line, then set a sufficiently large timeout value. It's a maximum value, so it doesn't matter much what you set it to, as long as you're certain the program can complete in that time. Then _don't_ specify an outputfile attribute and CF will display the results on the generated page. Jim ----- Original Message ----- From: "Neil H." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 11:10 AM Subject: CFexecute > timeout attribute. I have the case where I want to display the output from > the temporary file. The problem is the file is still in use (i.e. CF runs > too quick :) ) Anyway I can specify a timeout in the cfexecute tab, but is > there a maximum OR is there like a default like 0 which will wait until its > finished? > > Thanks, > > Neil > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

