forked from qt-creator/qt-creator
Docker: assert on starting process in non device working dir
Change-Id: I7dd1040c77b3a7f7378b5567b7b5568af5f57848 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -187,6 +187,7 @@ CommandLine DockerProcessImpl::fullLocalCommandLine(bool interactive)
|
||||
QStringList args;
|
||||
|
||||
if (!m_setup.m_workingDirectory.isEmpty()) {
|
||||
QTC_CHECK(DeviceManager::deviceForPath(m_setup.m_workingDirectory) == m_device);
|
||||
args.append({"cd", m_setup.m_workingDirectory.path()});
|
||||
args.append("&&");
|
||||
}
|
||||
|
Reference in New Issue
Block a user