Pass the OpenMode to process launcher

Change-Id: I8f2c344999c17a5b25a12ec16b2fe1d7b2481893
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2021-07-13 16:46:50 +02:00
parent 10668b39ce
commit 3527ea8942
4 changed files with 10 additions and 6 deletions

View File

@@ -230,8 +230,8 @@ void LauncherSocketHandler::handleStartPacket()
m_packetParser.packetData());
process->setEnvironment(packet.env);
process->setWorkingDirectory(packet.workingDir);
process->setProcessChannelMode(packet.mode);
process->start(packet.command, packet.arguments);
process->setProcessChannelMode(packet.channelMode);
process->start(packet.command, packet.arguments, packet.openMode);
process->closeWriteChannel();
}