QProcess
lastmod 2026-11-10created 2014-03-282 edits
QProcess is a class in the Qt framework for running external programs and communicating with those processes. start launches a child process with a command and arguments, standard input and output are read and written like a QIODevice, and signals such as readyReadStandardOutput and finished handle output and termination asynchronously. A synchronous wait function, waitForFinished, is also provided, but the signal/slot approach is recommended to keep the GUI responsive.