[thelist] Pause In Cold Fusion

Raymond Camden jedimaster at macromedia.com
Tue Jun 12 11:20:30 CDT 2001


You need to add a timeout value. If you don't use TIMEOUT, ColdFusion calls
the process and doesn't wait for it to end. So, by adding a timeout, you can
make CF wait for the process to end.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : jedimaster at macromedia.com
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Josh Spiegel
> Sent: Tuesday, June 12, 2001 12:25 PM
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] Pause In Cold Fusion
>
>
> > Lets say I want to write a file and then read it on the same cold fusion
> > page.  When I do this it gives me a can not access file because
> > it is in use
> > error.  This is because it trys to read the file while the above code
> > (cfexecute not cffile) is writing to the file.  I can get around this by
> > creating a loop in between that creates a slight pause in the
> > logic.  I was
> > wondering if anybody knows a better way to do this.
>
> --- Here is a clarification of my problem ---
>
> My problem is that the writing that is done to the txt file is not done by
> CFFile.
> Here is my code.
>
> <CFOUTPUT>
> 	<CFEXECUTE name="c:\Imail\adduser.exe"
> 				arguments=" -u #form.account#"
> 				outputfile="emailOut.txt"> <!---
> the executable is writing to the .txt
> file --->
> 	</CFEXECUTE>
> </CFOUTPUT>
>





More information about the thelist mailing list