QT中调出cmd控制台的唯一方法:QProcess::startDetached

http://www.qtcentre.org/threads/21027-QProcess-and-the-command-line?s=094a0b0920ae3d5711b0d2c23ccfde37

QProcess::startDetached("cmd.exe");//接受两个参数,第二个参数可以传入参数。具体见QT assistant 

你可能感兴趣的:(QT中调出cmd控制台的唯一方法:QProcess::startDetached)