RemoteLinux: Disable sourcing /etc/profile and ~/.profile by default

[ChangeLog][RemoteLinux] Target-side shell profiles are not sourced by
default anymore.

Change-Id: Ide5029d02a0d149c4e532ee523f1dd49e7080c7b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2023-03-16 10:30:46 +01:00
parent dea3ea2262
commit 024897521c
5 changed files with 28 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
#include "remotelinux_export.h"
#include <projectexplorer/devicesupport/idevice.h>
#include <utils/processinterface.h>
namespace RemoteLinux {
@@ -26,6 +28,8 @@ protected:
qint64 processId() const;
bool runInShell(const Utils::CommandLine &command, const QByteArray &data = {});
ProjectExplorer::IDevice::ConstPtr device() const;
private:
virtual void handleStarted(qint64 processId);
virtual void handleDone(const Utils::ProcessResultData &resultData);