I am writing an avrdude
helper program that facilitates calling a few command-line arguments. When issuing avrdude commands in the console a series of output results will be displayed on the screen. Is there anyway to grab that output and display it in a GUI window (using Qt, if that matters)?
I figured I could take the output and redirect it to a file (avrdude -args > textFile.txt
) that could be read and displayed on the screen at runtime if nothing else.
Just wondering if there are any other alternatives to capturing this output.