Keep in mind though that there's a known bug with the timeout attribute. Example, if you set the timeout to 30 seconds, the process will take exactly 30 seconds to return processing back to you. It doesn't matter if the file you executed only took 5 seconds to complete... CFMX will wait the whole 30 seconds.
-Novak ----- Original Message ----- From: "Jochem van Dieten" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, March 09, 2003 9:18 AM Subject: Re: wait for cfexecute > Mahmut Basaran wrote: > > I'm writing an import / export function with the bcp.exe that comes with sql server. When I execute the command via cfexecute, coldfusion doesn't wait for bcp to return a response, and continues to process the rest of the command. Is there a workaround for this ? may be cflock ? > > Use the timeout attribute. > > Jochem > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

