C++ (Qt) QStringList arguments; arguments << "-c" << "cat /proc/cpuinfo | grep Serial | cut -d: -f2"; process.start("/bin/sh", arguments);