forked from qt-creator/qt-creator
ProjectExplorer: always map working directory path to command device
Change-Id: I0d2d54df118b70c2874b77b4ec2792fb8e114416 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -400,7 +400,7 @@ Runnable RunConfiguration::runnable() const
|
||||
Runnable r;
|
||||
r.command = commandLine();
|
||||
if (auto workingDirectoryAspect = aspect<WorkingDirectoryAspect>())
|
||||
r.workingDirectory = r.command.executable().withNewPath(workingDirectoryAspect->workingDirectory().path());
|
||||
r.workingDirectory = r.command.executable().withNewMappedPath(workingDirectoryAspect->workingDirectory());
|
||||
if (auto environmentAspect = aspect<EnvironmentAspect>())
|
||||
r.environment = environmentAspect->environment();
|
||||
if (m_runnableModifier)
|
||||
|
||||
Reference in New Issue
Block a user