Title:
Bug 73933:cfexecute requires a timeout attribute to capture the stdout from an executed command
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Jared Rypka-Hauer / Jared Rypka-Hauer (Jared Rypka-Hauer)
Created: 12/02/2008
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
cfexecute requires a timeout attribute to capture the stdout from an executed command.
This is silly. If an output variable is specified the command should run till completed and the result captured into the variable. If a timeout is specified the command should be halted at the end of the specified duration.
The way it operates at this time is counterintuitive and bizarre.
Method:
This will not capture the result from the command:
<cfexecute name="java" arguments="-v" variable="stdOut" />
This will:
<cfexecute name="java" arguments="-v" variable="stdOut" timeout="5" />
This is dumb. :)
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3036930
External Customer Info:
External Company:
External Customer Name: Jared Rypka-Hauer
External Customer Email: 08C411A143BC38A7992016B6
External Test Config: 12/02/2008
Attachments:
Comments: