http://www.qtcentre.org/threads/21027-QProcess-and-the-command-line?s=094a0b0920ae3d5711b0d2c23ccfde37 QProcess::startDetached("cmd.exe");//接受两个参数,第二个参数可以传入参数。具体见QT assistant