void MyClass::Run(QString line){ process.setReadChannel(QProcess::StandardError); process.start(line); do { process.waitForReadyRead(-1); emit SendOut(process.readAllStandardError()); } while(process.state());}
connect(&process,SIGNAL(readyReadStandartError()),this,SIGNAL(SendLine(QString)));