Fixed
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Zac Spitzer
Zac SpitzerNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Fix versions
Priority
Created 12 August 2021 at 09:26
Updated 22 April 2025 at 14:41
Resolved 22 April 2025 at 14:41
it would be nice to be able to stream output from cfexecute, i.e. flushing rather than waiting for the process to complete before sending content to the browser
I particularly would like this for running CI tests
When the
onProgress
listener is defined, all output goes only to the listener, theoutputfile
,errorFile
,variable
, anderrorVariable
will be empty / nullThe listener can do what ever it likes, appending to a file, streaming to the browser with flush, storing the output in a variable etc
The listener will be called for each line output to the console by the process
Check out the testcases for examples: https://github.com/lucee/Lucee/blob/7.0/test/tickets/LDEV3667.cfc