tracker issue : CF-3036930

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 73933:cfexecute requires a timeout attribute to capture the stdout from an executed command

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Jared Rypka-Hauer / Jared Rypka-Hauer (Jared Rypka-Hauer)

Created: 12/02/2008

Components: Language, Tags

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:

I'm very much in favor of consistency across tags and for tags to have "obvious" defaults so I support this ER.
Vote by External U.
24558 | November 10, 2011 07:04:46 PM GMT