1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00

startExecutable(): Forward executable's output, so vcmiclient's stdout and stderr aren't hidden

This commit is contained in:
Alexander Wilms 2024-07-18 23:54:33 +02:00
parent 31caf73383
commit 6687d3b684

View File

@ -113,6 +113,7 @@ void startExecutable(QString name, const QStringList & args)
// QProcess::start() causes the launcher window to freeze while the child process is running, so we hide it in
// MainWindow::on_startGameButton_clicked() and MainWindow::on_startEditorButton_clicked()
QProcess process;
process.setProcessChannelMode(QProcess::ForwardedChannels);
process.start(name, args);
process.waitForFinished(-1);