C Function to Run External Command and Capture the Output July 26, 2021 c / c++, I/O File No Comments In the following C function, we can launch a command and capture its output and store in a 2 dimensional char array. The function returns the number of the … [Continue Reading...]