Miscellaneous

Results 1 - 10 of around 2 in misc

Piping standard output and standard error to files

Issues with ColdFusion's cfexecute mean having to suppress output and errors from an executatable call. Here's how...

vspider and ffmpeg by default push data to standard error and/or standard output which has been hinted at being the cause of the process hanging due to CF not liking the amount of data.

To get around it you can suppress the output if a flag exists for the executable. For vspider it's

-loglevel nostdout

But for ffmpeg I couldn't see a flag, so instead I piped the data into files like so:

ffmpeg -i PATH_TO_INPUT_FILE PATH_TO_OUTPUT_FILE 1> STD_OUTPUT_FILE 2> STD_ERROR_FILE

I would love to know more about the bug or problem CF has with cfexcute if anyone knows.

Comments

Be the first to add a comment

Name

Comment

Website