cfexecute won’t wait?

If you are coding and using <cfexecute /> then don’t forget the timeout attribute!

<cfexecute name="#exe#" variable="cmdLineOutput" errorVariable="errData" timeout="60" />

Without it the code will just file off the command line call to execute your .exe without waiting for a response.

Don’t worry about making it too long: if you use a timeout of, say, 60 seconds your call will return if it finishes quicker than that.

This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s