3-1-Tags:CFExecute
last edited by
lmajano
on 23-Aug-2009
cfexecute
Description
Enables ColdFusion developers to execute a process on a server computer.
Category
Other
Implemented
Usage Syntax
<cfexecute [name="String"] [arguments="Any"] [outputFile="String"] [timeout="number"] [variable="String"] />
[] = Optional attribute
Attributes
| Name | Type | Required | Default | Description |
| name | String | No | The full pathname of the application to execute. Note: On Windows, you must specify the extension as part of the application's name. For example, myapp.exe, | |
| arguments | Any | No | Command-line arguments passed to the application. | |
| outputFile | String | No | The file to which to direct the output of the program. If not specified, the output is displayed on the page from which it was called. | |
| timeout | number | No | Indicates how long, in seconds, the ColdFusion executing thread waits for the spawned process. A timeout of 0 is equivalent to the non-blocking mode of executing. A very high timeout value is equivalent to a blocking mode of execution. The default is 0; therefore, the ColdFusion thread spawns a process and returns without waiting for the process to terminate.If no output file is specified, and the timeout value is 0, the program output is discarded. | |
| variable | String | No | Variable in which to put program output. If no outputfile or variable attribute is specified, output is displayed on page from which it was called. |
SideBar
User Login
Comments (