Refactor openMode/keepWriteChannelOpen/closeWriteChannel

Change-Id: I4090533875ce1da864b6f8554ce59dbc1392a142
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2021-08-06 16:20:47 +02:00
parent 2b820cc42d
commit 25f585227f
15 changed files with 207 additions and 44 deletions

View File

@@ -58,12 +58,14 @@ StartProcessPacket::StartProcessPacket(quintptr token)
void StartProcessPacket::doSerialize(QDataStream &stream) const
{
stream << command << arguments << workingDir << env << openMode << channelMode << standardInputFile;
stream << command << arguments << workingDir << env << processMode << writeData << channelMode
<< standardInputFile;
}
void StartProcessPacket::doDeserialize(QDataStream &stream)
{
stream >> command >> arguments >> workingDir >> env >> openMode >> channelMode >> standardInputFile;
stream >> command >> arguments >> workingDir >> env >> processMode >> writeData >> channelMode
>> standardInputFile;
}