If the QProcess object is already running a process, a warning may be printed at the console, and the existing process will continue running unaffected.
p.start(command);
p.waitForFinished();
p.start(command2);
p.waitForFinished();
p.start(command1);
p.waitForFinished();
试试吧!