forked from qt-creator/qt-creator
Use Reader mode for clangbackend
It doesn't look as there would be any write to this process from Creator side. Change-Id: I2c16a8ba28d8724d434d3c0f95c7b52616121b4b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -70,7 +70,7 @@ std::future<QProcessUniquePointer> ProcessCreator::createProcess() const
|
||||
{
|
||||
return std::async(std::launch::async, [&] {
|
||||
checkIfProcessPathExists();
|
||||
auto process = QProcessUniquePointer(new QtcProcess(ProcessMode::Writer));
|
||||
auto process = QProcessUniquePointer(new QtcProcess());
|
||||
process->setProcessChannelMode(QProcess::ForwardedChannels);
|
||||
process->setEnvironment(processEnvironment());
|
||||
process->setCommand(CommandLine(FilePath::fromString(m_processPath), m_arguments));
|
||||
|
Reference in New Issue
Block a user