Run windows command line
General and Desktop
2
Posts
1
Posters
778
Views
1
Watching
-
Thanks for the example
With that I came to
@void MainWindow::onReadyRead()
{
//qDebug() << "onReadyread:" <<
//myProcess->readAllStandardOutput();
ui->label->setText(myProcess->readAllStandardOutput());
}@Evenso, it did not only output computername, but also output that always comes out during build which is
@C:\Users\krustasia\Documents\qtworkspace\build-cmdTest-Desktop_Qt_5_1_1_MinGW_32bit-Debug\debug\cmdTest.exe exited with code 0@
Sometimes only the above depends on size of label boundary.