forked from qt-creator/qt-creator
SSH device: Ensure ConsoleProcess respects terminal settings
Fixes: QTCREATORBUG-23470 Change-Id: I0ac67226ee482814cdde44e518651e672be4e0eb Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "idevice.h"
|
||||
#include "../runcontrol.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <ssh/sshconnection.h>
|
||||
#include <ssh/sshconnectionmanager.h>
|
||||
#include <ssh/sshremoteprocess.h>
|
||||
@@ -201,6 +202,7 @@ void SshDeviceProcess::handleConnected()
|
||||
connect(&d->consoleProcess, &ConsoleProcess::stubStopped,
|
||||
this, [this] { handleProcessFinished(d->consoleProcess.errorString()); });
|
||||
d->consoleProcess.setAbortOnMetaChars(false);
|
||||
d->consoleProcess.setSettings(Core::ICore::settings());
|
||||
d->consoleProcess.setCommand(d->process->fullLocalCommandLine());
|
||||
d->consoleProcess.start();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user