Changed QProcess()::start() to the overloaded version which plays nice with spaces in the pathname
Fixes issue 9
This commit is contained in:
parent
be77148b11
commit
d8b9844dac
@ -55,7 +55,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
|
|
||||||
localServer_ = new QProcess(this);
|
localServer_ = new QProcess(this);
|
||||||
localServer_->setProcessChannelMode(QProcess::ForwardedChannels);
|
localServer_->setProcessChannelMode(QProcess::ForwardedChannels);
|
||||||
localServer_->start(serverApp);
|
localServer_->start(serverApp, QStringList());
|
||||||
// TODO: waitForReadyRead() is a kludge till we implement auto-retry!
|
// TODO: waitForReadyRead() is a kludge till we implement auto-retry!
|
||||||
localServer_->waitForReadyRead(1000);
|
localServer_->waitForReadyRead(1000);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user