mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
make sure STDOUT from child assignment-client bubbles up to parent
This commit is contained in:
parent
ceb8ca7a23
commit
248754e63e
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ AssignmentClientMonitor::AssignmentClientMonitor(int &argc, char **argv, int num
|
||||||
|
|
||||||
void AssignmentClientMonitor::spawnChildClient() {
|
void AssignmentClientMonitor::spawnChildClient() {
|
||||||
QProcess *assignmentClient = new QProcess(this);
|
QProcess *assignmentClient = new QProcess(this);
|
||||||
|
|
||||||
|
// make sure that the output from the child process appears in our output
|
||||||
|
assignmentClient->setProcessChannelMode(QProcess::ForwardedChannels);
|
||||||
|
|
||||||
assignmentClient->start(applicationFilePath(), _childArguments);
|
assignmentClient->start(applicationFilePath(), _childArguments);
|
||||||
|
|
||||||
// link the child processes' finished slot to our childProcessFinished slot
|
// link the child processes' finished slot to our childProcessFinished slot
|
||||||
|
|
Loading…
Reference in a new issue